I have recently updated my model, added a BooleanField to it however when I do python manage.py syncdb
, it doesn't add the new field to the database for the model. How can I fix this ?
Django has built in support for migrations - take a look at the documentation.
Django doesn't support migrations out of the box. There is a pluggable app for Django that does exactly that though, and it works great. It's called South.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With