[Django] #33520: "has_add_permission" for Django Admin error

41 views
Skip to first unread message

Django

unread,
Feb 17, 2022, 10:29:05 PM2/17/22
to django-...@googlegroups.com
#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.

Django

unread,
Feb 17, 2022, 11:30:00 PM2/17/22
to django-...@googlegroups.com
#33520: "has_add_permission" for Django Admin error
-------------------------------------+-------------------------------------
Reporter: John Raphael Medina | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: wontfix

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by John Raphael Medina):

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


--
Ticket URL: <https://code.djangoproject.com/ticket/33520#comment:1>

Django

unread,
Feb 18, 2022, 12:02:51 AM2/18/22
to django-...@googlegroups.com
#33520: "has_add_permission" for Django Admin error
-------------------------------------+-------------------------------------
Reporter: John Raphael Medina | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* resolution: wontfix => invalid


--
Ticket URL: <https://code.djangoproject.com/ticket/33520#comment:2>

Reply all
Reply to author
Forward
0 new messages