3 ms·
What's the Django equivalent of this?
by kmfrk 15y ago
What's the Django equivalent of this?
- woj 15y agoYou pretty much have to do the same thing - release code using new models before migrating the db. Django tends to spell out all columns in its SQL statements, so when you delete one from the db, but fail to upgrade the code you will run into a db exception. I'd also recommend using South for migrations http://south.aeracode.org/ http://south.aeracode.org/