#31098: has_add_permission() takes 2 positional arguments but 3 were given.
-------------------------------------+-------------------------------------
     Reporter:  Mihai Zamfir         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  3.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  admin inlines        |             Triage Stage:
  permission                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mihai Zamfir):

 Thanks for the response. However, that's not something I can control. As
 in the snippet above, I'm just calling the parent method, the super call
 errors.

 {{{
     def get_inline_instances(self, request, obj=None):
         inline_instances = super().get_inline_instances(request, obj)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31098#comment:5>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.305751b1c2b34b6a562621be96b4d7b3%40djangoproject.com.

Reply via email to