1
Fork 0
This commit is contained in:
Jake Howard 2015-11-26 09:53:40 +00:00
parent d2532d3110
commit 92ee07c527
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,7 @@ from django.views.generic import TemplateView
class CustomTemplate(TemplateView): class CustomTemplate(TemplateView):
html_title = "" html_title = ""
body_class = "" body_class = ""
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context['html_title'] = self.html_title context['html_title'] = self.html_title

View file

@ -1,5 +1,4 @@
from project.common.views import CustomTemplate from project.common.views import CustomTemplate
from django.contrib.staticfiles.templatetags.staticfiles import static
class IndexView(CustomTemplate): class IndexView(CustomTemplate):