3π
As mentioned in error log, problem is in : ginsdb.0002_ginlocal...
that is located in ../Path_To_Your_App/ginsdb/migrations
You have 2 choices:
1- If your database is empty and you have not entered anything in it can simply create a new database, change you database in settings.py
, clear all migrations in ../Path_To_Your_App/ginsdb/migrations
and then try this:
>>>python manage.py makemigrations
>>>python manage.py migrate ginsdb
2- If you donβt prefer to change your database should find cause of error, for beginning should post all files in your ../Path_To_Your_App/ginsdb/migrations/
and say the steps you go to design your models.
In some cases it will simply work when you delete ../Path_To_Your_App/ginsdb/migrations/ginsdb.0002_ginlocal...
-1π
I will suggest you to make the project and copy the app and as well as the sqlite file then update you settings.py by adding your app. It will solve your problem
- [Answered ]-Pass associative array through Ajax
- [Answered ]-Incorporating react redux into django
- [Answered ]-How to create a token using jquery with django passing variable to the front?
- [Answered ]-Unable to use JSON.parse in my django template
- [Answered ]-Django: Update object from view, with no model or template