On 03/14/2014 11:49 PM, Shawn Milochik wrote:
That's just the syntax for calling a method on the base class.
1. MultiEmailField is a subclass of forms.Field.
2. forms.Field has a method named validate.
3. MultiEmailField also has a method named validate, so it overrides the
one on forms.Field.
Thank you. It seemed odd that the calling class name is used to call the
parent but the more I think about it the more it makes sense. super in
it self is a function that returns the parent of a given class. So it is
logical to include class in arguments list.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/53237CB9.4080105%40yahoo.gr.
For more options, visit https://groups.google.com/d/optout.