mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Merge pull request #230 from ddddavidmartin/webserver_paperless_titles
Refer to Paperless in Django webserver titles and update Django documentation URLs
This commit is contained in:
		
						commit
						dc74cc2db5
					
				@ -4,10 +4,10 @@ Django settings for paperless project.
 | 
			
		||||
Generated by 'django-admin startproject' using Django 1.9.
 | 
			
		||||
 | 
			
		||||
For more information on this file, see
 | 
			
		||||
https://docs.djangoproject.com/en/1.9/topics/settings/
 | 
			
		||||
https://docs.djangoproject.com/en/1.10/topics/settings/
 | 
			
		||||
 | 
			
		||||
For the full list of settings and their values, see
 | 
			
		||||
https://docs.djangoproject.com/en/1.9/ref/settings/
 | 
			
		||||
https://docs.djangoproject.com/en/1.10/ref/settings/
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
@ -25,7 +25,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Quick-start development settings - unsuitable for production
 | 
			
		||||
# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
 | 
			
		||||
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
 | 
			
		||||
 | 
			
		||||
# The secret key has a default that should be fine so long as you're hosting
 | 
			
		||||
# Paperless on a closed network.  However, if you're putting this anywhere
 | 
			
		||||
@ -108,7 +108,7 @@ WSGI_APPLICATION = 'paperless.wsgi.application'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Database
 | 
			
		||||
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
 | 
			
		||||
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
 | 
			
		||||
 | 
			
		||||
DATABASES = {
 | 
			
		||||
    "default": {
 | 
			
		||||
@ -133,7 +133,7 @@ if os.getenv("PAPERLESS_DBUSER") and os.getenv("PAPERLESS_DBPASS"):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Password validation
 | 
			
		||||
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
 | 
			
		||||
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
 | 
			
		||||
 | 
			
		||||
AUTH_PASSWORD_VALIDATORS = [
 | 
			
		||||
    {
 | 
			
		||||
@ -152,7 +152,7 @@ AUTH_PASSWORD_VALIDATORS = [
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Internationalization
 | 
			
		||||
# https://docs.djangoproject.com/en/1.9/topics/i18n/
 | 
			
		||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
 | 
			
		||||
 | 
			
		||||
LANGUAGE_CODE = 'en-us'
 | 
			
		||||
 | 
			
		||||
@ -166,7 +166,7 @@ USE_TZ = True
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Static files (CSS, JavaScript, Images)
 | 
			
		||||
# https://docs.djangoproject.com/en/1.9/howto/static-files/
 | 
			
		||||
# https://docs.djangoproject.com/en/1.10/howto/static-files/
 | 
			
		||||
 | 
			
		||||
STATIC_ROOT = os.getenv(
 | 
			
		||||
    "PAPERLESS_STATICDIR", os.path.join(BASE_DIR, "..", "static"))
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
"""paperless URL Configuration
 | 
			
		||||
 | 
			
		||||
The `urlpatterns` list routes URLs to views. For more information please see:
 | 
			
		||||
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
 | 
			
		||||
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
 | 
			
		||||
Examples:
 | 
			
		||||
Function views
 | 
			
		||||
    1. Add an import:  from my_app import views
 | 
			
		||||
@ -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'
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,7 @@ WSGI config for paperless project.
 | 
			
		||||
It exposes the WSGI callable as a module-level variable named ``application``.
 | 
			
		||||
 | 
			
		||||
For more information on this file, see
 | 
			
		||||
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
 | 
			
		||||
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user