mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
parent
69ea039e31
commit
92db3fec2e
@ -116,3 +116,8 @@ PAPERLESS_SHARED_SECRET=""
|
|||||||
# positive integer, but if you don't define one in paperless.conf, a default of
|
# positive integer, but if you don't define one in paperless.conf, a default of
|
||||||
# 100 will be used.
|
# 100 will be used.
|
||||||
#PAPERLESS_LIST_PER_PAGE=100
|
#PAPERLESS_LIST_PER_PAGE=100
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# public, you should change the key to something unique and verbose.
|
||||||
|
#PAPERLESS_SECRET_KEY="change-me"
|
||||||
|
@ -21,8 +21,13 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||||||
# Quick-start development settings - unsuitable for production
|
# 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.9/howto/deployment/checklist/
|
||||||
|
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# The secret key has a default that should be fine so long as you're hosting
|
||||||
SECRET_KEY = 'e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee'
|
# Paperless on a closed network. However, if you're putting this anywhere
|
||||||
|
# public, you should change the key to something unique and verbose.
|
||||||
|
SECRET_KEY = os.getenv(
|
||||||
|
"PAPERLESS_SECRET_KEY",
|
||||||
|
"e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee"
|
||||||
|
)
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user