diff --git a/src/epub2go_web/settings.py b/src/epub2go_web/settings.py index 62f2791..f19ffae 100644 --- a/src/epub2go_web/settings.py +++ b/src/epub2go_web/settings.py @@ -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 diff --git a/src/epub2go_web/templates/index.html b/src/epub2go_web/templates/index.html new file mode 100644 index 0000000..0015cad --- /dev/null +++ b/src/epub2go_web/templates/index.html @@ -0,0 +1,63 @@ + + +
+| + + {{ item.title }} + + | +Download | +