#21111: generic.View.__init__ should call super
--------------------------------------+------------------------------------
     Reporter:  glin@…                |                    Owner:  gmeno
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  Generic views         |                  Version:  1.5
     Severity:  Normal                |               Resolution:  wontfix
     Keywords:  afraid-to-commit      |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by tomchristie):

 As noted in the discussion group thread, the issue there is that you're
 declaring the classes in the wrong order.

  If you subclass the View class correctly there's no issue, like so:

 {{{
 class MyView(SomeMixin, View)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21111#comment:13>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.48f768621704c7158f6c4522d523fc1b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to