port had not taken
place. Would you mind posting the views.py to pastebin or
codepad?
On Sat, Apr 28, 2012 at 2:24 PM,
marcelo nicolet <marcelo.nico...@gmail.com>
wrote:
Th
have to be sure and import the module at the top of your script: from
django.contrib.auth.decorators import login_required. Otherwise, it's never in
scope and thus not available.
Sent from my iPhone
On Apr 28, 2012, at 1:00 PM, marcelo nicolet wrote:
Hi
Following the on-line do
Hi
Following the on-line docs (
https://docs.djangoproject.com/en/1.4/topics/auth/ ) I decorated my
"index" view with @login_required, but nothing happens. In other words,
it'supossed I would be redirected to a login page, else an exception
migth raise. But the whole thing keeps doing as alway
3 matches
Mail list logo