Site is currently on development mode

Creating and populating a non-nullable field in Django

Last updated 2 years ago by Fernando Freitas Alves


Here’s the thing, do you know when you have your website in production and everything set in order and then some guy (there’s always some guy) appears with a new must-have mandatory field that nobody, neither the client nor the PO, no one, thought about it? That’s the situation.

But it happens that you use Django Migrations and you want to add those baby fields and run your migrations back and forth, right?

Read full Article