I have some problem with templates and separating templates blocks. There is a list of messages. Some properties are common, some are application specific. Properties are just html columns :)
I got following templates main.html -> basic "frame", which consists of common html, headers, scripts etc. frame.html - which introduce additional division - tabs and content, extends main.html app_specific.html - app specific tab lists - extends frame.html messages.html - common message list, which contains common properties and block in the middle to add custom properites, extends app_specific.html to be part of app, with proper tabs etc. app_msg.html - additional properties for messages list, extends messages.html. My problem is - i need different app_specific.html for different app_msg.html - is there any way I can achieve that without using variables from view like context['app_specific_frame'] = 'someapp.html' ? I want to keep clear line between view and controller. Any way of simply passing some string along extended templates? Or possibility to somehow make content of app_msg.html block a content of extended block from messages.html but wiht extending messages.html? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.