Hi,
I have a simple question regarding Django template system.
Lets imagine I have two blocks defined in my base template like this:
<h2>Search bar</h2>
{% block A %}
{% endblock %}
<h2>Content</h2>
{% block B %}
{% endblock %}
I have 3 independent apps in my project called RenderA, RenderB1 and
RenderB2. The view of RenderA is supposed to render block A no matter
what the url is. The url only matters for the decision of which of
RenderB1 and RenderB2 will render the block B.
I can easily define the patterns in the projects main urls.py to decide
who will render the block B and call the appropriate view, but how to
have that block A rendered with the RenderA in the same time?
What is the standard way to do that?
Thanks and best regards,
Daniel Svonava
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---