0

Please help... I am new to django. This error occurred during running makemigrations after adding 'department' in class Candidate in models

my models:

enter image description here

my Error:

enter image description here

-Thank You

1 Answer 1

1

comment out whole Candidate model and then run

python manage.py makemigrations
python manage.py migrate --fake

Then uncomment Candidate model and then run

python manage.py makemigrations
python manage.py migrate
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.