Issue Creating Django Models
I'm trying to create some new tables, through Django Models, but, everytime I try to Migrate the changes, appears the following error. It says it is a syntax error, though I can't
Solution 1:
- Delete your
migrationsfolder from your project root. - Create a new
migrationsfolder. - Add a
__init__.pyempty file in that folder. - Run
python manage.py makemigrationsandpython manage.py migrate.
This will just create a fresh migration file.
Post a Comment for "Issue Creating Django Models"