A bunch of progress

This commit is contained in:
Maximilian Friedersdorff 2024-06-25 20:59:37 +01:00
parent 34c8bae899
commit a4e58a5fa4
11 changed files with 130 additions and 18 deletions

View file

@ -37,6 +37,7 @@ INSTALLED_APPS = [
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.humanize",
"django_bootstrap5",
"reinheit.apps.brew",
"reinheit.apps.styles",
@ -58,7 +59,7 @@ ROOT_URLCONF = "config.urls"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [BASE_DIR/"reinheit"/"templates"],
"DIRS": [BASE_DIR / "reinheit" / "templates"],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
@ -120,6 +121,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.0/howto/static-files/
STATIC_URL = "static/"
STATICFILES_DIRS = [BASE_DIR / "reinheit" / "static"]
# Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field

View file

@ -3,6 +3,5 @@ from django.contrib import admin
urlpatterns = [
path("admin/", admin.site.urls),
path("brews/", include(("reinheit.apps.brew.urls", "brew"), namespace="brews"))
path("brews/", include(("reinheit.apps.brew.urls", "brew"), namespace="brews")),
]