Thank you sooooooooooo much. That was great. I was using a book base
on Django .96. I couldn't fully understand the online documentation.

You saved me a great deal of time.

Steve

On Dec 8, 11:20 pm, robin nanola <[email protected]> wrote:
> on your settings.py you can just add  LOGIN_URL = '/login/'
>
> On Thu, Dec 9, 2010 at 3:04 PM, Charlietuna <[email protected]> wrote:
> > Hi All,
>
> > I'm a newbie. I would like to use the @login_required decorator, but I
> > don't want to redirect to the standard default accounts/login. I would
> > like to redirect to '/login/'
>
> > The book says add the following to the end of the settings.py file.:
>
> > import django.contrib.auth
> > django.contrib.auth.LOGIN_URL = '/login/'
>
> > The server says: GET /accounts/login/?login/=/save/ HTTP/1.1  404 2273
> > I assume that it is going the path:
>
> > /account/login/login
>
> > Any help would be appreciated!
>
> > Thanks,
>
> > Steve
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<django-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to