为了账号安全,请及时绑定邮箱和手机立即绑定

django配置xadmin后使用migrate时显示 in get_field return self.fields_map[field_name]的错误

django配置xadmin后使用migrate时显示 in get_field return self.fields_map[field_name]的错误

慕粉3235508 2018-03-02 15:51:22
Operations to perform:  Apply all migrations: admin, auth, contenttypes, sessions, xadminRunning migrations:  Applying admin.0002_logentry_remove_auto_add... OK  Applying auth.0007_alter_validators_add_error_messages... OK  Applying auth.0008_alter_user_username_max_length... OK  Applying xadmin.0004_auto_20180302_1526...Traceback (most recent call last):  File "D:\anaconda\lib\site-packages\django\db\models\options.py", line 617, in get_field    return self.fields_map[field_name]KeyError: <function SET_NULL at 0x0000023ECA148BF8>During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "D:\pycharm软件\PyCharm 5.0.3\helpers\pycharm\django_manage.py", line 41, in <module>
查看完整描述

目前暂无任何回答

  • 0 回答
  • 1 关注
  • 1250 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信