All Posts Create a Post  
0
votes
133
views
Understanding Google reCAPTCHA in Django
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

Understanding Google reCAPTCHA in Django. I found this awesome answer to simply understand how to use API from Google reCAPTCHA. import urllib, urllib2 def recaptcha(request, postdata): rc_challenge = postdata.get('recaptcha_challenge_field', '') …

101 1 1 0
0
votes
138
views
Understanding @user_passes_test Django
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

Django decorator has a function to manage the user, once of it is user_passes_test. But, in my implementation i found this problem: ERR_TOO_MANY_REDIRECTS, or ‘AnonymousUser’ object is not iterable. I …

101 1 1 0