Fix url template
This commit is contained in:
parent
55c17554f1
commit
7b6613bd36
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@
|
||||
.idea/*
|
||||
static/admin/
|
||||
static/django_extensions/
|
||||
static/rest_framework/
|
||||
static/rest_framework/
|
||||
/static/
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user