On 1/6/07, James Bennett <[EMAIL PROTECTED]> wrote:
What's needed to actually make this work is for user_passes_test to
copy over __module__ and __name__ from the decorated function to its
internal _checklogin function, in addition to __doc__.
Also, it's worth pointing out that this has actual
On 1/6/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
On 06-Jan-07, at 11:32 AM, chasfs wrote:
> Any suggestions other than removing the login_required decorator and
> doing the work in each view?
use user_passes_test - this has an option for adding the return url
Unfortunately, that won't h
On 06-Jan-07, at 11:32 AM, chasfs wrote:
Any suggestions other than removing the login_required decorator and
doing the work in each view?
use user_passes_test - this has an option for adding the return url
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--
I'm having a problem using the auto generated admin documentation for
views, when the view has an @login_required decorator. Instead of
linking to the doc for the view, the link is to:
http://localhost:8000/admin/doc/views/django.contrib.admin.views.decorators._checklogin/
which is not found.
A
4 matches
Mail list logo