zoukankan      html  css  js  c++  java
  • DoesNotExist at /account/

    DoesNotExist at /account/

    User has no account.
    Request Method: GET
    Request URL: http://127.0.0.1:8000/account/
    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:27:34 +0800

    Traceback Switch to copy-and-paste view

    • /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()))
        ...
  • 相关阅读:
    python3使用django1.11不支持MYSQL-python的解决办法
    abp学习目录
    日常网站整理
    C#使用TransactionScope实现事务代码
    CSS禁止选择
    数据库三种事务
    设计模式总章
    几种排序方法的总结
    将图片压缩成大小格式小的图片
    常用的wsdl地址
  • 原文地址:https://www.cnblogs.com/xiangnan/p/3501165.html
Copyright © 2011-2022 走看看