I try to display a modelform containing a datetime field
But when I try to display this field, anything wants to appear.
In the model form, when I print self.fields :
{'status': <django.forms.fields.TypedChoiceField object at 0x1340e10>, 'reserved': <django.forms.fields.BooleanField object at 0x1340cd0>, 'date_publication': None, 'date_creation': None}
Here's the model :
class News(MultiLangModel):
date_creation = models.DateTimeField(auto_now_add=True, verbose_name=_("Date"))
date_publication = models.DateTimeField(auto_now_add=True, verbose_name=_("Publication date"))
status = models.CharField(max_length=10, verbose_name=_("Status"), choices=POST_STATUS_CHOICES)
reserved = models.BooleanField(default=False, verbose_name=_(u"News reserved to supporters"))
What can be the reason of this bug ?