On Sep 9, 12:07 pm, mettwoch <mettw...@pt.lu> wrote: > Here is the definition of the field: > > date_due = models.DateField(auto_now_add=True)
I'd guess that the problem is the auto_now_add. When that's set, the field is not editable (because the date can only be set at creation). So the field is by default excluded from the form - but you've explicitly stated you want that field showing, hence the error. So there is probably a bug, but the bug is that it should raise an explicit exception when you try and add a non-editable field to a form. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---