added new index.html and history.html to digitalglarus

This commit is contained in:
Levi 2016-08-09 00:54:25 -05:00
commit a27e7f9828
109 changed files with 14665 additions and 316 deletions

View file

@ -50,6 +50,18 @@ class IndexView(TemplateView):
template_name = "digitalglarus/index.html"
class HistoryView(TemplateView):
template_name = "digitalglarus/history.html"
def get_context_data(self, **kwargs):
context = super(HistoryView, self).get_context_data(**kwargs)
supporters = Supporter.objects.all()
context.update({
'supporters': supporters
})
return context
class AboutView(TemplateView):
template_name = "digitalglarus/about.html"