[PATCH v2] Don't require optional model fields in forms

Jeremy Kerr jk at ozlabs.org
Fri Feb 11 12:13:26 EST 2011


Hi Dirk,

> The keyword 'blank' concerns only validation and does not change what
> will be stored in the database.

mostly applied:

> -    hash = HashField(null = True, db_index = True)
> +    hash = HashField(db_index=True ,null=True, blank=True)

Trying to sneak an index in, eh? :)

Although this is probably a good idea, do you have a particular requirement 
(or data) for this change?

Cheers,


Jeremy


More information about the Patchwork mailing list