#21754: Object discrepency between python2.x and python3.x with model field "to_python" and "get_prep_value" when retrieving object from database -------------------------------+-------------------------------------- Reporter: troygrosfield | Owner: nobody Type: Bug | Status: new Component: Python 3 | Version: 1.6 Severity: Normal | Resolution: Keywords: python3 | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by mjtamlyn):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: `__metaclass__` does nothing on python 3. Can you try your example using http://pythonhosted.org/six/#six.with_metaclass? -- Ticket URL: <https://code.djangoproject.com/ticket/21754#comment:1> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.fb6d1722824ba54d9dbe4d656d870b9d%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.