|
@@ -22,7 +22,7 @@ DATABASE = {
|
|
|
# This key is used for secure generation of random numbers and strings. It must never be exposed outside of this file.
|
|
# This key is used for secure generation of random numbers and strings. It must never be exposed outside of this file.
|
|
|
# For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
|
|
# For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
|
|
|
# symbols. NetBox will not run without this defined. For more information, see
|
|
# symbols. NetBox will not run without this defined. For more information, see
|
|
|
-# https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SECRET_KEY
|
|
|
|
|
|
|
+# https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY
|
|
|
SECRET_KEY = ''
|
|
SECRET_KEY = ''
|
|
|
|
|
|
|
|
# Redis database settings. The Redis database is used for caching and background processing such as webhooks
|
|
# Redis database settings. The Redis database is used for caching and background processing such as webhooks
|
|
@@ -106,7 +106,7 @@ EXEMPT_VIEW_PERMISSIONS = [
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
# Enable custom logging. Please see the Django documentation for detailed guidance on configuring custom logs:
|
|
# Enable custom logging. Please see the Django documentation for detailed guidance on configuring custom logs:
|
|
|
-# https://docs.djangoproject.com/en/1.11/topics/logging/
|
|
|
|
|
|
|
+# https://docs.djangoproject.com/en/stable/topics/logging/
|
|
|
LOGGING = {}
|
|
LOGGING = {}
|
|
|
|
|
|
|
|
# Setting this to True will permit only authenticated users to access any part of NetBox. By default, anonymous users
|
|
# Setting this to True will permit only authenticated users to access any part of NetBox. By default, anonymous users
|
|
@@ -171,7 +171,7 @@ TIME_ZONE = 'UTC'
|
|
|
WEBHOOKS_ENABLED = False
|
|
WEBHOOKS_ENABLED = False
|
|
|
|
|
|
|
|
# Date/time formatting. See the following link for supported formats:
|
|
# Date/time formatting. See the following link for supported formats:
|
|
|
-# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
|
|
|
|
|
|
+# https://docs.djangoproject.com/en/stable/ref/templates/builtins/#date
|
|
|
DATE_FORMAT = 'N j, Y'
|
|
DATE_FORMAT = 'N j, Y'
|
|
|
SHORT_DATE_FORMAT = 'Y-m-d'
|
|
SHORT_DATE_FORMAT = 'Y-m-d'
|
|
|
TIME_FORMAT = 'g:i a'
|
|
TIME_FORMAT = 'g:i a'
|