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

No files matched your search

+5
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