If you are interfering with USER model, note that you have to change the deafult model to first migration only.
-- Solution - Delete the migrations folder, run makemigrations and migrate again. Also, if you are overriding any model, must define it in settings.py.
Regards
Naveen Arora
On Monday, 2 March 2020 18:09:14 UTC+5:30, sagar ninave wrote:
On Monday, 2 March 2020 18:09:14 UTC+5:30, sagar ninave wrote:
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a53b93cc-2dd0-46a6-9887-f10b8cdadb91%40googlegroups.com.
No comments:
Post a Comment