Adrienne Domingus
1 min readOct 8, 2020

--

Hi Ramesh — are you trying to add a new field with auto_now to an existing table with rows already in the database? If so, you won’t be able to add it with blank=False or null=False because it won’t know what value to add to existing rows. You’ll need to add it with nullability, backfill existing rows, and then go back and set null=False after.

--

--