On Jan 18, 2:01 am, Rock <[EMAIL PROTECTED]> wrote:
> The templates have to be within a directory named "templates" found in
> the /var/www/ directory.
> BUT DON'T PUT TEMPLATES THERE! Put the templates dir in the same
> directory as your settings.py
> file and set the path accordingly in the settings.py file.
>
> Here is another good alternative:
>
> Comment out the filesystem loading option. This means that the second
> loader (which is the
> app_directories template loader) will be used exclusively. Now put
> your templates file within
> your application directory, i.e., myapp/templates/ and put the
> templates in there. Now you
> don't have to specify an absolute path in the settings.py file for
> template loading.
I might try that as a last thing, coz its avoiding not solving the
issue ;) And I want to know whats wrong to be able to prevent it to
hapen in the future.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---