From 92ee07c5272c1a4570ced43a869680478d76249f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 26 Nov 2015 09:53:40 +0000 Subject: [PATCH] PEP8 --- project/common/views.py | 2 +- project/pages/views.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/project/common/views.py b/project/common/views.py index 8ff6ea1..5ca3685 100644 --- a/project/common/views.py +++ b/project/common/views.py @@ -4,7 +4,7 @@ from django.views.generic import TemplateView class CustomTemplate(TemplateView): html_title = "" body_class = "" - + def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['html_title'] = self.html_title diff --git a/project/pages/views.py b/project/pages/views.py index 66b45f2..70f14f2 100644 --- a/project/pages/views.py +++ b/project/pages/views.py @@ -1,5 +1,4 @@ from project.common.views import CustomTemplate -from django.contrib.staticfiles.templatetags.staticfiles import static class IndexView(CustomTemplate):