Thanks.
Em quinta-feira, 4 de agosto de 2011 07h29min37s UTC-3, Hayyan Rafiq escreveu:
--Hi i read that
"By default, the admin application will look for a template in several places, using the first
one it finds. The template names it looks for are as follows, in this order:
1. admin/flatpages/flatpage/change_form.html
2. admin/flatpages/change_form.html
3. admin/change_form.html"
In my template Dir in settings.py I have added the following
TEMPLATE_DIRS = (
"D:/Django-1.3/django/bin/cms/Templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
So why isnt the page change_form.html which i placed in
D:\Django-1.3\django\bin\cms\Templates\admin\flatpages\ flatpage
gets displayed.
Instead the page in
D:\Django-1.3\django\bin\cms\Templates\flatpages\default. html gets displayed
any ideas or suggestions??
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/JQtPCPQxqbkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment