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
people who can help you
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/'] +
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
> www.mydomain.com/someapplicatio
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.
To
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 wrote:
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 us
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
www.mydomain.com/d
7 matches
Mail list logo