Hi there,
please try:
TEMPLATE_DIRS = (
"C:/xampp/htdocs/mytemplates/"
)
After all, it's TEMPLATE_DIRS not TEMPLATE_FILES. It should contain
directories with templates.
Cheers,
Tom
Dne Thu, 27 Jun 2013 09:46:40 -0700 (PDT)
krazyXplorer <1.kc.dude@gmail.com> napsal(a):
> I am new to Django and got stuck at
> Tutorial 2 - Customize the admin look and feel
>
>
> When I directly went into *
> C:\Python27\Lib\site-packages\django\contrib\admin\templates\admin\base_site.html
> * and made changes in *base_site.html* there was no problem and I didn't
> even had to edit the *TEMPLATE_DIRS (...)*
>
>
> But When I copy the *base_site.html* into *C:\xampp\htdocs\mytemplates\admin
> * and edit *TEMPLATE_DIRS (...)* to
>
> TEMPLATE_DIRS = (
> "C:/xampp/htdocs/mytemplates/admin/base_site.html"
> # Always use forward slashes, even on Windows.
> # Don't forget to use absolute paths, not relative paths.
> )*
> *
>
> *There was no Change in admin look
> *
>
> *Please help ..what am I doing wrong ??
> *
>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment