From 6bf7429ef6c2505740a19010856fc137abe58194 Mon Sep 17 00:00:00 2001 From: David Martin Date: Thu, 25 May 2017 20:16:59 +1000 Subject: [PATCH] Refer to Paperless instead of Django in webserver pages. It looks better to have the page titles refer to Paperless rather than Django. The same with the login. Setting it in urls.py is based on this stackoverflow response [0]. The proper documentation for the admin page is under [1]. [0] https://stackoverflow.com/a/24983231 [1] https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#adminsite-attributes --- src/paperless/urls.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/paperless/urls.py b/src/paperless/urls.py index b7bc13b10..9ae1efc91 100644 --- a/src/paperless/urls.py +++ b/src/paperless/urls.py @@ -60,3 +60,10 @@ urlpatterns = [ if settings.SHARED_SECRET: urlpatterns.insert(0, url(r"^push$", PushView.as_view(), name="push")) + +# Text in each page's

(and above login form). +admin.site.site_header = 'Paperless' +# Text at the end of each page's . +admin.site.site_title = 'Paperless' +# Text at the top of the admin index page. +admin.site.index_title = 'Paperless administration'