tangentlabs/django-oscar — pull request #437 by maikhoepfel (2013-06-27 16:49:43+00:00)
Title: staff_member_required

There's an `oscar.views.decorators.staff_member_required` which is used by `oscar.apps.dashbard`, but `oscar.apps.dashboard.catalogue` uses `django.contrib.admin.views.decorators.staff_member_required`.

Also, oscar's `staff_member_required`'s `login_url` defaults to "/accounts/login" instead of using a named url (so the whole thing fails if oscar's urls are under, e.g.: "/store/" instead of "/").

Right now I'm having to override the dashboard app just to change the decorator to something that uses named urls, or at least the standard `settings.LOGIN_URL`

So I wonder, what does oscar's `staff_member_required` do that can't be handled by django's?