In development system the templates is ok, but in deployment it is not ok. I use apache 2 and mod_python 3 in according with ufficials docs.
Follows the error page when I request the resource by url: TemplateDoesNotExist at / home/index.html Request Method: GET Request URL: http://ih.local/ Exception Type: TemplateDoesNotExist Exception Value: home/index.html Exception Location: /usr/lib/python2.4/site-packages/django/template/ loader.py in find_template_source, line 72 Template-loader postmortem Django tried loading these templates, in this order: * Using loader django.template.loaders.filesystem.load_template_source: o /home/ivan/django-projects/immobilhouse/templates/home/index.html (File exists) o /usr/local/src/django_src/django/contrib/home/index.html (File does not exist) * Using loader django.template.loaders.app_directories.load_template_source: o /usr/lib/python2.4/site-packages/django/contrib/admin/templates/home/ index.html (File does not exist) [snip] Follow the apache config file: <VirtualHost *> ServerName ih.local SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE immobilhouse.settings PythonPath "sys.path+['/home/ivan/django-projects/']" PythonInterpreter immobilhouse PythonDebug On Alias /media "/home/ivan/django-projects/immobilhouse/media" <Location "/media/"> SetHandler None </Location> </VirtualHost> Why? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---