Error :: non-nullable field

Error message:
You are trying to add a non-nullable field

Q. How can I solve this Error?

A. I was able to solve this problem by adding ‘blank=True’.

Before correction)

models.py
models.py

After correction)

models.py
models.py

Leave a Reply

Your email address will not be published. Required fields are marked *