#33520: "has_add_permission" for Django Admin error
-----------------------------------------+------------------------
               Reporter:  joraphmedina   |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  3.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Potential bug found in:
 
https://github.com/django/django/blob/stable/3.2.x/django/contrib/admin/options.py

 Kindly see error here (currently testing on our local):

 Request Method: GET
 Request URL:    http://localhost:8000/admin/users/user/13/change/
 Django Version: 3.2.12
 Exception Type: TypeError
 Exception Value:
 has_add_permission() takes 2 positional arguments but 3 were given
 Exception Location:     /usr/local/lib/python3.8/site-
 packages/django/contrib/admin/options.py, line 605, in
 get_inline_instances
 Python Executable:      /usr/local/bin/python
 Python Version: 3.8.12

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33520>
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/055.0031b2fc8724a873caaa7eca3d26d688%40djangoproject.com.

Reply via email to