#10728: [PATCH] SubfieldBase classes can't be subclassed. ------------------------------------------+--------------------------------- Reporter: G2P | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ------------------------------------------+--------------------------------- The contribute_to_class method that SubfieldBase creates goes into an endless recursion if the SubfieldBase-using class is subclassed.
This is fixed by passing the actual field class to make the correct super call. The patches have been applied on both trunk and releases/1.0.X . All tests pass, including one modified to test for this defect. -- Ticket URL: <http://code.djangoproject.com/ticket/10728> 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 -~----------~----~----~----~------~----~------~--~---