New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login template issue #19
Comments
I have the same issue - anyone know the solution? |
Hey, I found the following hint crucial:
Could this be added to the README.rst? Thanks for this awesome plugin otherwise. References: |
Thanks Mr. Hoffman. I had disabled the request context processor, enabling it fixed the issue. |
+1 Please document this, since fresh Django projects do not include that module by default and the error is fairly mysterious. |
This is already documented in the README... |
Ah, I see now. I interpreted the example wrong - thought it meant "after whatever else you've got in TEMPLATE_CONTEXT_PROCESSORS, add this."
Now I see how you've used the ellipses there. Slightly ambiguous, but yes, it's there. Thanks. |
Hello, can you please help me with this one?
Am I doing something wrong or it is a bug?
TemplateSyntaxError at /accounts/login/
Caught KeyError while rendering: 'request'
Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/login/
Django Version: 1.3.1
Exception Type: TemplateSyntaxError
Exception Value:
Caught KeyError while rendering: 'request'
Exception Location: /usr/local/lib/python2.7/dist-packages/django/template/context.py in getitem, line 55
Template error
In template /usr/local/lib/python2.7/dist-packages/django_allauth-0.1.0-py2.7.egg/allauth/templates/socialaccount/snippets/provider_list.html, error at line 4
Caught KeyError while rendering: 'request'
Line 4: "
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/login/
Django Version: 1.3.1
Python Version: 2.7.1
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'emailconfirmation',
'uni_form',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.twitter',
'allauth.openid',
'allauth.facebook',
'chat']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Template error:
In template /usr/local/lib/python2.7/dist-packages/django_allauth-0.1.0-py2.7.egg/allauth/templates/socialaccount/snippets/provider_list.html, error at line 4
Caught KeyError while rendering: 'request'
1 : {% load allauth_tags %}
2 :
3 : {% if allauth.openid_enabled %}
4 :
5 : {% endif %}
6 : {% if allauth.twitter_enabled %}
7 :
8 : {% endif %}
9 : {% if allauth.facebook_enabled %}
10 :
11 : {% endif %}
12 : {% if allauth.openid_enabled %}
13 :
14 :
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
Exception Type: TemplateSyntaxError at /accounts/login/
Exception Value: Caught KeyError while rendering: 'request'
The text was updated successfully, but these errors were encountered: