Django error message “Add a related_name argument to the definition”

前端 未结 8 1483
伪装坚强ぢ
伪装坚强ぢ 2020-12-01 00:53
D:\\zjm_code\\basic_project>python manage.py syncdb
Error: One or more models did not validate:
topics.topic: Accessor for field \'content_type\' clashes with rel         


        
8条回答
  •  北海茫月
    2020-12-01 01:15

    But in my case i am create a separate app for some functionality with same model name and field ( copy/paste ;) ) that's because of this type of error occurs i am just deleted the old model and code will work fine
    May be help full for beginners like me :)

提交回复
热议问题