Re: Setting up Django in apache

2008-09-03 Thread James Bennett

On Wed, Sep 3, 2008 at 10:28 PM, Pepsi330ml <[EMAIL PROTECTED]> wrote:
> Thus i cannot use the PythonOption django.root
> Is there other alternative?

Well, what you can generally do to work around this if you have an
older Django is to create a new file, say, root_urls.py in your
project, and set it up like a normal URLConf, but in it put only a
single pattern:

(r'^your_site_root/', include('your_real_urls.py'),

Then make this your root URLConf.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Setting up Django in apache

2008-09-03 Thread Graham Dumpleton

On Sep 4, 1:28 pm, Pepsi330ml <[EMAIL PROTECTED]> wrote:
> Hi
>
> Forget to add on. I am using Django version 0.96.
> Don't intend to upgrade to version 1.0 now.
>
> Thus i cannot use the PythonOption django.root
> Is there other alternative?

>From memory the answer is 'No'.

Graham
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Setting up Django in apache

2008-09-03 Thread Pepsi330ml

Hi

Forget to add on. I am using Django version 0.96.
Don't intend to upgrade to version 1.0 now.

Thus i cannot use the PythonOption django.root
Is there other alternative?

Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---