Opened 10 years ago

Last modified 10 years ago

#24294 closed Bug

admin.views.decorators.staff_member_required raises an exception when passed a valid argument — at Initial Version

Reported by: andrei kulakov Owned by: andrei kulakov
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

When a valid argument is given to staff_member_required decorator, it raises this confusing error:

staff_member_required() takes at least 1 argument (1 given)

Change History (0)

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