To fix this I worked out which Class was at fault and had to remove it and all mentions of it in the 'Migrations' folder.
Once I did that I could run the following commands again and had regained access to my /admin/ folder
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
I also renamed my Class to not cause any other possible conflicts.
No comments:
Post a Comment