List Info

Thread: Template extending itself




Template extending itself
country flaguser name
United States
2007-05-29 08:17:43
Hi guys!

I think it's not possible but I think this will be a good
addition it
we could have a template extending itself. I made a project
that used
sites framework and I missed this feature, now I need some
improves on
admin interface to let flatpages use tinymce as default
editor.

To let flatpages use tinymce I ned to copy the
admin/change_form.html
to an alternative path (admin_copy/change_form.html), then I
ned to
write a another admin/change_form.html on my templates dir
that
extends admin_copy/change_form.html.

This could be achieved only extending the original admin/
change_form.html (from django source), if my custom admin/
change_form.html template could extends the source's one. Do
you
understand me? I don't know the inheritance machinary but I
can dig up
if you agree with the idea.

Should I create a ticket?
Best regards!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )