Re: website path

2011-04-20 Thread Jacob Kaplan-Moss
2011/4/20 Ján Vorčák : >    PythonHandler django.core.handlers.modpython You really, really, really should upgrade to mod_wsgi. mod_python is a dead project, and support for it be removed from Django in the future. More importantly, you're not going to find a whole lot of

Re: website path

2011-04-20 Thread Ján Vorčák
Hi, Thank you for your answer Here's my httpd.conf SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings PythonOption django.root /django-application PythonDebug On PythonPath "['/root/xvorcak_dir/django/mysite/']

Re: website path

2011-04-19 Thread Jacob Kaplan-Moss
2011/4/19 Ján Vorčák : > I've installed a django on my server (running on apache), but I've > configured it to run using url like > www.mydomain.com/django-application/ > > Now when I access some url from django using absolute url it > automatically redirects me to >

Re: website path

2011-04-19 Thread Jeff Blaine
How to avoid hardcoding URL paths in your templates: http://docs.djangoproject.com/en/1.3/ref/templates/builtins/#url Maybe that helps some? I don't think I can be of more help. I'm too new. -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: website path

2011-04-19 Thread Ján Vorčák
Hi Thank you for your response Yeah I've already read that, But in urls.py I have to explicitly say that my url is like django- application/someaplication My point is that I want to avoid writing django-application inside each url (+ in the template Link On Apr 19, 11:03 pm, Jeff Blaine

Re: website path

2011-04-19 Thread Jeff Blaine
I imagine you need to configure your urls.py I suggest going through the whole tutorial, starting at the following page. This is all explained there. http://docs.djangoproject.com/en/1.3/intro/tutorial01/ -- You received this message because you are subscribed to the Google Groups "Django

website path

2011-04-19 Thread Ján Vorčák
Hi, I've installed a django on my server (running on apache), but I've configured it to run using url like www.mydomain.com/django-application/ Now when I access some url from django using absolute url it automatically redirects me to www.mydomain.com/someapplication instead of