diff options
author | 2019-04-05 18:24:32 +0100 | |
---|---|---|
committer | 2019-04-05 18:24:32 +0100 | |
commit | ab8b798547e82ca79882ba28b1920077c803425f (patch) | |
tree | b28a9005d05dfd2c9da62351671bf2aa6e37f7dc /pydis_site/settings.py | |
parent | [#158 #160] Automatically run collectstatic in containers/setup script (diff) |
pysite -> pydis_site
Diffstat (limited to '')
-rw-r--r-- | pydis_site/settings.py (renamed from pysite/settings.py) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pysite/settings.py b/pydis_site/settings.py index 4bcc27b4..e8355918 100644 --- a/pysite/settings.py +++ b/pydis_site/settings.py @@ -1,5 +1,5 @@ """ -Django settings for pysite project. +Django settings for pydis_site project. Generated by 'django-admin startproject' using Django 2.1. @@ -62,9 +62,9 @@ else: # Application definition INSTALLED_APPS = [ - 'pysite.apps.api', - 'pysite.apps.home', - 'pysite.apps.wiki', + 'pydis_site.apps.api', + 'pydis_site.apps.home', + 'pydis_site.apps.wiki', 'django.contrib.admin', 'django.contrib.auth', @@ -95,12 +95,12 @@ MIDDLEWARE = [ 'django_hosts.middleware.HostsResponseMiddleware', ] -ROOT_URLCONF = 'pysite.urls' +ROOT_URLCONF = 'pydis_site.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [os.path.join(BASE_DIR, 'pysite', 'templates')], + 'DIRS': [os.path.join(BASE_DIR, 'pydis_site', 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'builtins': [ @@ -117,7 +117,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'pysite.wsgi.application' +WSGI_APPLICATION = 'pydis_site.wsgi.application' # Database @@ -165,7 +165,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.1/howto/static-files/ STATIC_URL = '/static/' -STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pysite', 'static')] +STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pydis_site', 'static')] STATIC_ROOT = env('STATIC_ROOT', default='staticfiles') STATICFILES_FINDERS = [ @@ -177,7 +177,7 @@ STATICFILES_FINDERS = [ # django-hosts # https://django-hosts.readthedocs.io/en/latest/ -ROOT_HOSTCONF = 'pysite.hosts' +ROOT_HOSTCONF = 'pydis_site.hosts' DEFAULT_HOST = 'home' if DEBUG: |