Got it.
Should be models.DateTimeField(blank=True, null=True, default=None)
I shouldn't use default = "" on a DateTimeField.
On Jan 12, 9:29 pm, "Cortland Klein" wrote:
> Update: It looks like it's a DateTimeField (lastsenttotranslation) that's
> not included in the form, hence the form is_val
Update: It looks like it's a DateTimeField (lastsenttotranslation) that's
not included in the form, hence the form is_valid() but the actual save()
fails. But I'm still confused why...
In models.py, its defined as:
> lastsenttotranslation = models.DateTimeField(_("Last sent to Translation"),
> bl
Hi. I'm getting the following ValidationError in a ModelForm that's
returning True for the form's is_valid() function but is throwing this
ValidationError when the form's save() function is being called.
Running save(commit=False).save() has no effect.
This view is used to both create new V
3 matches
Mail list logo