Actually in the meantime i figured out that using
os.path.abspath('templates') would do the job, elegant as it should
be. And it is platform independent.

For the P.S. bit, I got the idea from djangoproject.com's SVN where
they have templates and the rest put together in the same branch. I
thought it is natural not to assume one project be deployed in the
same path on every machine. I can't imagine if there is a need to fix
that path on every machine if a given project (like a blog engine) be
distributed to different server located in different path.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to