#24294: admin.views.decorators.staff_member_required raises an exception when
passed a valid argument
-------------------------------+----------------------
Reporter: akulakov | Owner: akulakov
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+----------------------
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)
--
Ticket URL: <https://code.djangoproject.com/ticket/24294>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.649a091555fad4006d6b65ecc5997e41%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.