(Actually Works)
This commit is contained in:
parent
a6cf86f826
commit
1743a6e9ae
1 changed files with 1 additions and 3 deletions
|
@ -16,12 +16,10 @@ def server_error(request, template_name=defaults.ERROR_500_TEMPLATE_NAME):
|
||||||
def account_login(request):
|
def account_login(request):
|
||||||
|
|
||||||
d = {
|
d = {
|
||||||
"login_form": LoginEmailForm(),
|
"login_form": LoginUsernameForm(),
|
||||||
"signup_form": SignupForm(),
|
"signup_form": SignupForm(),
|
||||||
"signup_open": getattr(settings, "ACCOUNT_OPEN_SIGNUP", True),
|
"signup_open": getattr(settings, "ACCOUNT_OPEN_SIGNUP", True),
|
||||||
}
|
}
|
||||||
|
|
||||||
print d["signup_open"], settings.ACCOUNT_OPEN_SIGNUP
|
print d["signup_open"], settings.ACCOUNT_OPEN_SIGNUP
|
||||||
return render(request, "account_login.html", d)
|
return render(request, "account_login.html", d)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue