DoesNotExist at /admin/
User has no account.
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/admin/ |
Django Version: | 1.6.1 |
Exception Type: | DoesNotExist |
Exception Value: |
User has no account. |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py in __get__, line 206 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: |
['/home/nan/Documents/mysite', |
Server time: | Wed, 1 Jan 2014 23:33:24 +0800 |
Traceback Switch to copy-and-paste view
-
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
inget_response
-
response = middleware_method(request)
...
-
-
build/bdist.linux-x86_64/egg/account/middleware.py
inprocess_request
-
account = getattr(request.user, "account", None)
...
-
-
/usr/local/lib/python2.7/dist-packages/django/utils/functional.py
ininner
-
return func(self._wrapped, *args)
...
-
-
/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py
in__get__
-
self.related.get_accessor_name()))
...
-