mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
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
This commit is contained in:
parent
700b7fe257
commit
344543b73c
@ -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 <h1> (and above login form).
|
||||
admin.site.site_header = 'Paperless'
|
||||
# Text at the end of each page's <title>.
|
||||
admin.site.site_title = 'Paperless'
|
||||
# Text at the top of the admin index page.
|
||||
admin.site.index_title = 'Paperless administration'
|
||||
|
Loading…
x
Reference in New Issue
Block a user