#13122: ForeignKey class calls own get_db_prep_save tests prior to the related field get_db_prep_save ---------------------------------------------------+------------------------ Reporter: SeniorHuevo | Owner: nobody Status: closed | Milestone: Component: Database layer (models, ORM) | Version: 1.1 Resolution: invalid | Keywords: Stage: Unreviewed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by russellm):
* status: new => closed * needs_better_patch: => 0 * resolution: => invalid * needs_tests: => 0 * needs_docs: => 0 Comment: This sounds like a case of a badly written custom field/python type to me. An equals comparison shouldn't be raising AttributeError. I can't think of an example from the Python standard library that would behave like this. If you can provide an example of a standard Python library object that behaves like this, please reopen and we'll reconsider. -- Ticket URL: <http://code.djangoproject.com/ticket/13122#comment:1> 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-upda...@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.