21 Django错误和爬坑

编辑本文章

一、在执行python manager.py makemigrations报错

ERRORS:
rbc.UriGroup.uris: (fields.E339) 'UriGroup2Uri.uri_id' is not a foreign key to 'UriGroup'.
        HINT: Did you mean one of the following foreign keys to 'UriGroup': urigroup_id?
rbc.UriGroup.uris: (fields.E339) 'UriGroup2Uri.urigroup_id' is not a foreign key to 'Uri'.
        HINT: Did you mean one of the following foreign keys to 'Uri': uri_id?

posted @ 2020-01-22 00:40  丫丫625202  阅读(238)  评论(0编辑  收藏  举报