Re: IPAddressField inserted as empty string although null=True

2010-09-22 Thread rihad
Yes, that was me && me, thank you :) Going on to learn Django... -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-

Re: #717 (If-Modified-Since checked for exact match) should be fixed

2010-09-22 Thread Ivan Sagalaev
On 09/22/2010 12:13 PM, Luke Plant wrote: On Tue, 2010-09-21 at 11:40 -0700, julianb wrote: Uuh, so what's with this? Nothing happened with the ticket and no further comments here either... :( I accepted it on Trac, please see my comments there. Also, you mentioned about the 'condition decora

Re: IPAddressField inserted as empty string although null=True

2010-09-22 Thread Russell Keith-Magee
On Wed, Sep 22, 2010 at 6:00 PM, rihad wrote: > I have these fields in a model: > >        ipaddr1 = models.IPAddressField() >        ipaddr2 = models.IPAddressField(blank=True, null=True) > > When I "wrap" this model in a ModelForm, fill the form, and call > form.save(), empty ipaddr2 gets insert

IPAddressField inserted as empty string although null=True

2010-09-22 Thread rihad
I have these fields in a model: ipaddr1 = models.IPAddressField() ipaddr2 = models.IPAddressField(blank=True, null=True) When I "wrap" this model in a ModelForm, fill the form, and call form.save(), empty ipaddr2 gets inserted as an empty string, causing database errors for Postgr

Re: #717 (If-Modified-Since checked for exact match) should be fixed

2010-09-22 Thread Luke Plant
On Tue, 2010-09-21 at 11:40 -0700, julianb wrote: > Uuh, so what's with this? Nothing happened with the ticket and no > further comments here either... :( I accepted it on Trac, please see my comments there. Also, you mentioned about the 'condition decorator' that also needs updating - I'm not su