Re: Charfields and Admin and None, oh my.

2010-11-11 Thread Andrew Godwin
On 11/11/10 01:40, Karen Tracey wrote: > > There is a way, it just requires some admin customization. See: > > http://stackoverflow.com/questions/454436/unique-fields-that-allow-nulls-in-django/1400046#1400046 Right, and you can also register a pre_save hook to fix this, but it's just ugly. > > I

Re: Charfields and Admin and None, oh my.

2010-11-10 Thread Karen Tracey
On Wed, Nov 10, 2010 at 6:32 PM, Andrew Godwin wrote: > So, I've been trying to trace a bug that's been affecting me as well as > someone else I know, to do with ModelForms / the admin and CharFields > with null=True, blank=True, and unique=True > > The old ticket for this was closed as WONTFIX:

Charfields and Admin and None, oh my.

2010-11-10 Thread Andrew Godwin
So, I've been trying to trace a bug that's been affecting me as well as someone else I know, to do with ModelForms / the admin and CharFields with null=True, blank=True, and unique=True The old ticket for this was closed as WONTFIX: http://code.djangoproject.com/ticket/9590 However, I'd personall