Mercurial > public > sg101
view sg101/views.py @ 1081:ecb8f07d937b
Added countdown application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 24 Apr 2016 12:27:26 -0500 |
parents | 5a6349fb72bd |
children | c31008989a16 |
line wrap: on
line source
"""Misc views for SG101""" from django.views.generic import TemplateView class StoreView(TemplateView): template_name = 'store/base.html' def get_context_data(self, **kwargs): context = super(StoreView, self).get_context_data(**kwargs) context['V3_DESIGN'] = True return context