Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#33520 closed Bug (invalid)

"has_add_permission" for Django Admin error

Reported by: John Raphael Medina Owned by: nobody
Component: contrib.admin Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (2)

comment:1 by John Raphael Medina, 3 years ago

Resolution: wontfix
Status: newclosed

comment:2 by Mariusz Felisiak, 3 years ago

Resolution: wontfixinvalid
Note: See TracTickets for help on using tickets.
Back to Top