#11075: DateField on ManyToMany intermediary won't accept input ---------------------------------------------------+------------------------ Reporter: singingwolfboy | Owner: nobody Status: closed | Milestone: Component: Database layer (models, ORM) | Version: 1.0 Resolution: invalid | Keywords: manytomanyfield m2m datefield Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by ramiro):
* status: new => closed * resolution: => invalid Comment: Your problem is your `date_left = models.DateField(blank=True, default='')` `PerformanceGroupMembership` field. Try with `models.DateField(blank=True, null=True[, default=None])` instead, `''` isn't a valid `datetime.date` value. The `tests/modeltests/m2m_through` successfully running tests has an almost identical model setup (modulo the `date_left` field that is). Also, next time please use the django user support channels (send a message to the django-users mailing list or visit the #django IRC channel) before opening a ticket here. -- Ticket URL: <http://code.djangoproject.com/ticket/11075#comment:2> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---