Created
February 26, 2012 18:45
-
-
Save percyperez/1918232 to your computer and use it in GitHub Desktop.
Convert view for lazysignup with template_name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@allow_lazy_user | |
def convert(request, form_class=UserCreationForm, | |
redirect_field_name='redirect_to', | |
anonymous_redirect=settings.LOGIN_URL, | |
template_name='lazysignup/convert.html'): | |
... | |
... | |
... | |
return direct_to_template(request, template_name, { | |
'form': form, | |
'redirect_to': redirect_to | |
},) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment