当前位置:   article > 正文

python nonetype object_NoneType“object”没有属性“model”

attributeerror: 'nonetype' object has no attribute 'mode

我的一个表格给了我这个错误,我似乎不知道问题出在哪里。在11:24:04 web.1 | Internal Server Error: /dash/location/add

11:24:04 web.1 | Traceback (most recent call last):

11:24:04 web.1 | File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 114, in get_response

11:24:04 web.1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)

11:24:04 web.1 | File "/Library/Python/2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view

11:24:04 web.1 | return view_func(request, *args, **kwargs)

11:24:04 web.1 | File "/Library/Python/2.7/site-packages/django/views/generic/base.py", line 69, in view

11:24:04 web.1 | return self.dispatch(request, *args, **kwargs)

11:24:04 web.1 | File "/Library/Python/2.7/site-packages/django/views/generic/base.py", line 87, in dispatch

11:24:04 web.1 | return handler(request, *

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/759091
推荐阅读
相关标签
  

闽ICP备14008679号