Revision history [back]
block user going further after sign in
I have built module for user to agree terms of service, I have a decorator that I want to put it in deps/views.py I am trying to figure out where I should exactly use my decorator. I tried adding my decorator prior to following method but I didn't get the full effect. What I really want to do is once user click login (either open_id, google or django login) my decorator should get activate.
Here are the methods that I used but didn't really work.
#@requires_agreement('terms_of_service')
def show_signin_view(
block user going further after sign in
I have built module for user to agree terms of service, I have a decorator that I want to put it in deps/views.py I am trying to figure out where I should exactly use my decorator. I tried adding my decorator prior to following method but I didn't get the full effect. What I really want to do is once user click login (either open_id, google or django login) my decorator should get activate.
Here are the methods that I used but didn't really work.
#@requires_agreement('terms_of_service')
def show_signin_view(
block user going further after sign in
I have built module for user to agree terms of service, I have a decorator that I want to put it in deps/views.py I am trying to figure out where I should exactly use my decorator. I tried adding my decorator prior to following method but I didn't get the full effect. What I really want to do is once user click login (either open_id, google or django login) my decorator should get activate.
Here are the methods that I used but didn't really work.
#@requires_agreement('terms_of_service')
def show_signin_view(