PEP8
This commit is contained in:
parent
d2532d3110
commit
92ee07c527
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Reference in a new issue