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.

So, for MultiEmailField to call its parent's validate() method, it has to
use super. That's how the subclass can use the parent's code, and add some
of its own.

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAOzwKwGWsc5%2B1BdpZK%3DJCyu88a%3DLk9gZFQg7yLR-6A6n0_k5SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to