On Tuesday 06 June 2017 05:45:32 devansh dixit wrote: > > just run >>> python manage.py migrations this will help > > you
No, it won't. First it's `makemigrations`, second, he doesn't want to migrate the model, just the code. It's an unmanaged model, so the correct fix, as Daniel pointed out is to declare the model as such. And to clarify, why returning false in the router doesn't help: The router check is one of 3 checks done. If any of the checks return True, it will attempt to make a migration. -- Melvyn Sopacua -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1975916.ljDJIgZLpA%40devstation. For more options, visit https://groups.google.com/d/optout.