diff --git a/.gitignore b/.gitignore index 854f719..cf0449c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .idea/* static/admin/ static/django_extensions/ -static/rest_framework/ \ No newline at end of file +static/rest_framework/ +/static/ diff --git a/core/settings.py b/core/settings.py index ccf04a2..766cd3e 100644 --- a/core/settings.py +++ b/core/settings.py @@ -57,8 +57,8 @@ ROOT_URLCONF = "core.urls" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", - "DIRS": [os.path.join(BASE_DIR, "app", "templates")], - "APP_DIRS": True, + "DIRS": [os.path.join(BASE_DIR, "templates")], + "APP_DIRS": False, "OPTIONS": { "context_processors": [ "django.template.context_processors.debug", diff --git a/env.example b/env.example index c56c50f..61af411 100644 --- a/env.example +++ b/env.example @@ -5,7 +5,7 @@ DEBUG=True SECRET_KEY=mysecret DOMAIN=project.localhost DOMAIN_URL=http://project.localhost -ALLOWED_HOSTS=project.localhost,localhost +ALLOWED_HOSTS=localhost,django,caddy,django.localhost,project.localhost STATIC_ROOT=static STATIC_URL=/static/ MEDIA_ROOT=media