diff options
| author | 2018-08-11 23:23:40 +0200 | |
|---|---|---|
| committer | 2018-08-11 23:23:40 +0200 | |
| commit | 8bec0c42125637de740e44a6dd6c26cb3a71a467 (patch) | |
| tree | 8313c889cd91e83be414a567f41a192ae4797d18 /pysite/settings.py | |
| parent | Initial project layout for django (diff) | |
Rename `pydis_django` to `pysite`.
Diffstat (limited to '')
| -rw-r--r-- | pysite/settings.py (renamed from pydis_django/settings.py) | 13 | 
1 files changed, 6 insertions, 7 deletions
| diff --git a/pydis_django/settings.py b/pysite/settings.py index 657fef3b..fc705db6 100644 --- a/pydis_django/settings.py +++ b/pysite/settings.py @@ -1,5 +1,5 @@  """ -Django settings for pydis_django project. +Django settings for pysite project.  Generated by 'django-admin startproject' using Django 2.1. @@ -51,14 +51,13 @@ MIDDLEWARE = [      "django_hosts.middleware.HostsResponseMiddleware",  ] -ROOT_URLCONF = "pydis_django.urls.main" +ROOT_URLCONF = "pysite.urls.main"  TEMPLATES = [      { +        "BACKEND": "django.template.backends.django.DjangoTemplates", +        "DIRS": [os.path.join(BASE_DIR, "pysite", "templates")],          "APP_DIRS": True, -        "BACKEND": "django.template.backends.jinja2.Jinja2", -        "DIRS": [os.path.join(BASE_DIR, "templates")], -          "OPTIONS": {              "builtins": [                  "django_hosts.templatetags.hosts_override", @@ -74,7 +73,7 @@ TEMPLATES = [      },  ] -WSGI_APPLICATION = "pydis_django.wsgi.application" +WSGI_APPLICATION = "pysite.wsgi.application"  # Database @@ -137,4 +136,4 @@ if os.getenv("DEBUG") is not None:  # Debug mode      DEBUG = True      PARENT_HOST = "pythondiscord.local:8000" -ROOT_HOSTCONF = "pydis_django.hosts" +ROOT_HOSTCONF = "pysite.hosts" | 
