Changes between Version 1 and Version 2 of Ticket #24338, comment 2


Ignore:
Timestamp:
Feb 13, 2015, 10:59:57 AM (10 years ago)
Author:
Julien Hartmann

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24338, comment 2

    v1 v2  
    99class MyView(TemplateView):
    1010    template_name = "mytemplate.html"
     11
    1112    def get_context_data(self, **kwargs):
    1213        kwargs['parent_template'] = get_template('parent.html')
    1314        return super(MyView, self).get_context_data(**kwargs)
    1415}}}
    15 
    1616{{{
    1717{# mytemplate.html #}
Back to Top