#3337: [patch] newforms-fields better calls super(CLASS,self) instead class-method Field --------------------------------------------------+------------------------- Reporter: Dirk Datzert <[EMAIL PROTECTED]> | Owner: adrian Status: new | Component: django.newforms Version: SVN | Keywords: super Stage: Unreviewed | Has_patch: 1 --------------------------------------------------+------------------------- I looked into django.newforms.fields and saw that in the __init__() and the clean() method always calls to the Field.__init__() and Field.clean() method are made. In an more object oriented way those calls should be better super(CLASSNAME, self).__init__() and super(CLASSNAME, self).clean()
-- Ticket URL: <http://code.djangoproject.com/ticket/3337> Django Code <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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
