Changed models in Django applications, doing migration. Crashes

nonetype object has no attribute is_relation 

And indeed, I understand that some changes were critical. How to completely remove data from the database (I have sqlite3 by default) and start from scratch?

Tried to do as here: https://github.com/valdergallo/django-reset-migrations It seems everything got lost, but when the migrations were created - an access error to one of the migrations. Or you can, for example, delete the sqlite file, erase migrations to init and do the migration?

  • access error? Try chmod -R 777 . - ishidex2 7:54 pm

0