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.
No comments:
Post a Comment