Django template Path
Posted
by user74283
on Stack Overflow
See other posts from Stack Overflow
or by user74283
Published on 2010-06-14T15:24:49Z
Indexed on
2010/06/14
15:42 UTC
Read the original article
Hit count: 178
Hi I m following the tutorial on http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02 in windows 7 envoirement. my settings file is
TEMPLATE_DIRS = (
'C:/django-project/myapp/mytemplates/admin'
)
i got the base_template from the template admin/base_site.html from within the default Django admin template directory in the source code of Django itself (django/contrib/admin/templates) into an admin subdirectory of myapp directory as the tutorial instructed.
It doesn't seem to take affect for some reason. Any clue of what might be the problem? Do i have to do a sync db ?
© Stack Overflow or respective owner