Skip to content

Commit

Permalink
remove duplicate settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 4, 2024
1 parent bd0c488 commit 5f1f589
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,7 @@

ROOT_URLCONF = "codeforlife.user.urls"

TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
],
},
},
]

DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}
DATABASES = get_databases(BASE_DIR)

if __name__ == "__main__":
import os
Expand Down

0 comments on commit 5f1f589

Please sign in to comment.