django配置xadmin后使用migrate时显示 in get_field return self.field
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions, xadmin
Running 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:
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 |
免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。
版权声明:作者保留权利,不代表天盟立场。
|
|
|
|