#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
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Support for `InlineModelAdmin.has_add_permission()` methods that don’t
 accept `obj` as the second positional argument was deprecated in Django
 2.1 and removed in Django 3.0.

 We had a small regression in Django 2.1.0 (see #29723), so you should use
 Django 2.1.1+.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31098#comment:2>
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.ccb14910c24193998c66756842c701c9%40djangoproject.com.

Reply via email to