mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Merge branch 'dev' into feature-more-like-this
This commit is contained in:
commit
43c88ae0f0
3 changed files with 13 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue