Changes between Version 1 and Version 2 of Ticket #24338, comment 2
- Timestamp:
- Feb 13, 2015, 10:59:57 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24338, comment 2
v1 v2 9 9 class MyView(TemplateView): 10 10 template_name = "mytemplate.html" 11 11 12 def get_context_data(self, **kwargs): 12 13 kwargs['parent_template'] = get_template('parent.html') 13 14 return super(MyView, self).get_context_data(**kwargs) 14 15 }}} 15 16 16 {{{ 17 17 {# mytemplate.html #}