feat: basic template

This commit is contained in:
eneller
2025-03-16 11:53:21 +01:00
parent bc8c4f61c7
commit 677e85a0f7
3 changed files with 90 additions and 7 deletions

View File

@@ -54,7 +54,9 @@ ROOT_URLCONF = "epub2go_web.urls"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"DIRS": [
'epub2go_web/templates/'
],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
@@ -73,12 +75,12 @@ WSGI_APPLICATION = "epub2go_web.wsgi.application"
# Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}
#DATABASES = {
# "default": {
# "ENGINE": "django.db.backends.sqlite3",
# "NAME": BASE_DIR / "db.sqlite3",
# }
#}
# Password validation