On Tue, May 24, 2011 at 11:19 AM, vicalloy <[email protected]> wrote:
> if project is hosted at : mydomain.com/hidjango/
> you need do some settings.
> 1. the session path need set to /hidjango/, but it will use default set '/'.
> 2. also you need create a hidjango_urls like:
> urlpatterns = patterns('',
>     (r'^hidjango/', include(urls)),
> )
> 3. modify LOGIN_URL
> need add a settings  as ROR's  RAILS_RELATIVE_URL_ROOT?
> link:
> http://guides.rubyonrails.org/v2.3.8/configuring.html#rails-environment-settings

This has been proposed and rejected in the past:

https://code.djangoproject.com/ticket/8906

The reasoning for this decision stems from the fact that settings.py
is intended to be a project-specific file, not something that is a
redeployable asset. Therefore, you *should* need to modify settings.py
if you want to deploy to a different sub-URL.

There is a separate discussion about whether LOGIN_URL should be
easier to use -- in particular, whether it should allow the use of
named URLs.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.

Reply via email to