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):