博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
DoesNotExist at /admin/
阅读量:6036 次
发布时间:2019-06-20

本文共 2091 字,大约阅读时间需要 6 分钟。

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', '/usr/local/lib/python2.7/dist-packages/setuptools-2.0.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Pillow-2.3.0-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/django_user_accounts-1.0b18-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_appconf-0.6-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pytz-2013.8-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
Server time: Wed, 1 Jan 2014 23:33:24 +0800

Traceback 

  • /usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
    1. response = middleware_method(request)
      ...
  • build/bdist.linux-x86_64/egg/account/middleware.py in process_request
    1. account = getattr(request.user, "account", None)
      ...
  • /usr/local/lib/python2.7/dist-packages/django/utils/functional.py in inner
    1. return func(self._wrapped, *args)
      ...
  • /usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py in __get__
    1. self.related.get_accessor_name()))
      ...

转载于:https://www.cnblogs.com/xiangnan/p/3501160.html

你可能感兴趣的文章
jstl格式化时间
查看>>
一则关于运算符的小例
查看>>
centos7 ambari2.6.1.5+hdp2.6.4.0 大数据集群安装部署
查看>>
cronexpression 详解
查看>>
一周小程序学习 第1天
查看>>
小孩的linux
查看>>
SpringMVC、MyBatis声明式事务管理
查看>>
开发者详解:端游及手游服务端的常用架构
查看>>
JavaScript History对象
查看>>
在 Windows 下安装 Oracle 11g XE (Express Edition)
查看>>
ListView优化
查看>>
【原创】 PostgreSQL 实现MySQL 的auto_increment 字段
查看>>
vs2015添加vc助手
查看>>
检测点1.1
查看>>
android--------阿里 AndFix 热修复
查看>>
java springcloud版b2b2c社交电商spring cloud分布式微服务 (七)高可用的分布式配置中心(Spring Cloud Config)...
查看>>
Oozie与Coordinator调度讲解及系统时区配置与定时触发两种配置方式
查看>>
RGB_YUV_YCbCr
查看>>
tesseract 安装及使用
查看>>
优化SqlServer--数据压缩
查看>>