Created
March 22, 2012 15:41
-
-
Save xvaara/2159091 to your computer and use it in GitHub Desktop.
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
Internal Server Error: / | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py", line 93, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.6/dist-packages/django/views/decorators/vary.py", line 22, in inner_func | |
response = func(*args, **kwargs) | |
File "/home/webdev/bongaus/qr-spotter/qr/spotter/views.py", line 148, in index | |
return _base(request, 'index', c) | |
File "/home/webdev/bongaus/qr-spotter/qr/spotter/views.py", line 135, in _base | |
_base.c['user_profile'] = UserProfile.get(request.user) | |
File "/home/webdev/bongaus/qr-spotter/qr/spotter/models.py", line 49, in get | |
return u.get_profile() | |
AttributeError: 'AnonymousUser' object has no attribute 'get_profile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment