Sunday, July 8, 2012

Re: masking only a small part of a template

Sorry, I should have been clearer. What I have is an external project that is included "as-is". It has it's templates and it's views are hardcoded against the template names.
I want to know if it's possible to create a template called, say, "app/dashboard.html" in the global template dir that then extends "app/dashboard.html" in the app's template directory, thereby allowing me to change ONLY the block I need to change, without requiring me to copy-paste the entire template and re-edit every time I update that app.

--
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/-/G2ExbPmO4e0J.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate