Changeset View
Changeset View
Standalone View
Standalone View
sandbox_project/settings-develoment.py
- This file was copied from sandbox_project/settings.py.
Show All 22 Lines | |||||
# SECURITY WARNING: keep the secret key used in production secret! | # SECURITY WARNING: keep the secret key used in production secret! | ||||
SECRET_KEY = '43)%4yx)aa@a=+_c(fn&kf3g29xax+=+a&key9i=!98zyim=8j' | SECRET_KEY = '43)%4yx)aa@a=+_c(fn&kf3g29xax+=+a&key9i=!98zyim=8j' | ||||
# 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 | ||||
ALLOWED_HOSTS = [ | ALLOWED_HOSTS = [ | ||||
'tools.wmflabs.org', | 'tools.wmflabs.org', | ||||
'localhost', | |||||
] | ] | ||||
# Application definition | # Application definition | ||||
INSTALLED_APPS = [ | INSTALLED_APPS = [ | ||||
'django.contrib.admin', | 'django.contrib.admin', | ||||
'django.contrib.auth', | 'django.contrib.auth', | ||||
▲ Show 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
USE_TZ = True | USE_TZ = True | ||||
# Static files (CSS, JavaScript, Images) | # Static files (CSS, JavaScript, Images) | ||||
# https://docs.djangoproject.com/en/2.2/howto/static-files/ | # https://docs.djangoproject.com/en/2.2/howto/static-files/ | ||||
STATIC_URL = '/static/' | STATIC_URL = '/static/' | ||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static') | #STATIC_ROOT = os.path.join(BASE_DIR, 'static') | ||||
STATICFILES_DIRS = [ | STATICFILES_DIRS = [ | ||||
os.path.join(BASE_DIR, "static") | os.path.join(BASE_DIR, "static") | ||||
] | ] | ||||
CRISPY_TEMPLATE_PACK = 'bootstrap4' | CRISPY_TEMPLATE_PACK = 'bootstrap4' | ||||
# Enabled for django-debug-toolbar to work | # Enabled for django-debug-toolbar to work | ||||
# https://docs.djangoproject.com/en/2.2/ref/settings/#internal-ips | # https://docs.djangoproject.com/en/2.2/ref/settings/#internal-ips | ||||
Show All 24 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL