On 28 oct, 07:38, "yuanyun.ken" <[EMAIL PROTECTED]> wrote:
> Steve, Thanks for your expeditious reply.
> because our apache server includes other apps, I can not deploy my app
> to the root of the server.
This won't fix http://code.djangoproject.com/ticket/8906, but there's
at least one possibl
hi, Karen, Thanks for your reply.
I am sure I hit that problem, http://code.djangoproject.com/ticket/8906
and I wish some excellent gays have time to investigate, and provide a
fix.
For now, I would just include root path in LOGIN_URL and LOGOUT_URL
variable.
On Oct 29, 12:46 am, "Karen Tracey" <
On Tue, Oct 28, 2008 at 11:10 AM, yuanyun.ken <[EMAIL PROTECTED]> wrote:
>
> Graham, thanks for your kindly help.
>
> I know we don't need root url when configure url mapping. but it seems
> that LOGIN_URL is somewhat special.
>
> When I set LOGIN_URL = '/login/'
> accessing http://localhost/root_
Graham, thanks for your kindly help.
I know we don't need root url when configure url mapping. but it seems
that LOGIN_URL is somewhat special.
When I set LOGIN_URL = '/login/'
accessing http://localhost/root_url/login/ is ok,
but when I access some pages which need login first, I will got 404
e
On Oct 28, 2:24 am, "yuanyun.ken" <[EMAIL PROTECTED]> wrote:
> Hi, all great Django users and developers, I have a little problem.
> To make @login_required work,
> I have to configure those in settings.py:
> root_url = '/root_url/'
> LOGIN_URL = root_url + '/login/'
> LOGOUT_URL = root_url + '
Steve, Thanks for your expeditious reply.
because our apache server includes other apps, I can not deploy my app
to the root of the server.
and I am sure, many Django apps are not deployed to server's root too.
so there must be a way to handle this problem.
--~--~-~--~~~---
yuanyun.ken wrote:
> Hi, all great Django users and developers, I have a little problem.
> To make @login_required work,
> I have to configure those in settings.py:
> root_url = '/root_url/'
> LOGIN_URL = root_url + '/login/'
> LOGOUT_URL = root_url + '/logout/'
>
> But this is obviously not a go
Hi, all great Django users and developers, I have a little problem.
To make @login_required work,
I have to configure those in settings.py:
root_url = '/root_url/'
LOGIN_URL = root_url + '/login/'
LOGOUT_URL = root_url + '/logout/'
But this is obviously not a good idea, as it couples with projec
8 matches
Mail list logo