Try something like this: import os abspath = lambda *p: os.path.abspath(os.path.join(*p)) PROJECT_ROOT = abspath(os.path.dirname(__file__)) [...] TEMPLATE_DIRS = (abspath(PROJECT_ROOT, "templates"),)
2012/3/30 Tom Evans <tevans...@googlemail.com> > 2012/3/30 Juan Pablo MartÃnez <jpm...@gmail.com>: > > Try > > TEMPLATE_DIRS = ("C:/Users/Documents/Music\ App/redlab/ > > templates",) > > > > Unlikely to work on OS X. > > Cheers > > Tom > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.