Andy, On 5/8/06, Andy Dustman <[EMAIL PROTECTED]> wrote: > Try the patch on this bug:
The 2nd patch didn't work for me, as I noted in the ticket. The initial save with DateField(auto_now_add = True) is correct, it has the date as it should. But using it in conjunction with FileField() will cause an automatic UPDATE statement to happen and, 'lo and behold, the DateField is now None and thus violating the constraint. I can understand the logic of doing an UPDATE, but I wonder what to do with the date. Perhaps make sure the value of the date stamp is kept and passed in the UPDATE again? -- Jeroen Ruigrok van der Werven --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---