This commit is contained in:
jonaswinkler
2020-12-17 21:46:56 +01:00
parent eaf11ea134
commit 48796e6961
3 changed files with 11 additions and 2 deletions

View File

@@ -54,6 +54,11 @@ from .serialisers import (
class IndexView(TemplateView):
template_name = "index.html"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['cookie_prefix'] = settings.COOKIE_PREFIX
return context
class CorrespondentViewSet(ModelViewSet):
model = Correspondent