Thanks Anssi - that's very clear - Dave
> If you don't define null=True the database will enforce that all rows
> are not null. Of course when you add a field into the database, the
> row will have a null value by default for the old rows, and the
> database will give you an error.
>
> If null
On 13 kesä, 12:14, Dave E wrote:
> I have a Django blog app with data in the (SQLite) database and have
> installed South so that I can add a 'modified' date field to the
> 'Entry' model. The field will initially be blank so I need blank=True
> for Django's admin
I have a Django blog app with data in the (SQLite) database and have
installed South so that I can add a 'modified' date field to the
'Entry' model. The field will initially be blank so I need blank=True
for Django's admin validation.
However, since it will also be empty in the database, do I
3 matches
Mail list logo