Created
April 4, 2014 17:23
-
-
Save wookiehangover/9979088 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
or: 'AnonymousUser' object has no attribute 'user' | |
[2014-04-04 17:22:52,462] ERROR django.request - Internal Server Error: /ajax/accounts/plan/list.json | |
Traceback (most recent call last): | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/decorators.py", line 61, in json_response | |
result = f(*args, **kwargs) | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/views.py", line 60, in endpoint_loader | |
data = endpoint(request) | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/endpoints.py", line 92, in list | |
objects = self.get_queryset(request.user) | |
File "/Users/sam/dev/sprintly/sprint.ly/snowbird/apps/accounts/endpoints.py", line 228, in get_queryset | |
return self._get_queryset(request.user) | |
File "/Users/sam/dev/sprintly/sprint.ly/lib/python2.7/site-packages/django/utils/functional.py", line 185, in inner | |
return func(self._wrapped, *args) | |
AttributeError: 'AnonymousUser' object has no attribute 'user' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment