A bunch of progress
This commit is contained in:
parent
34c8bae899
commit
a4e58a5fa4
11 changed files with 130 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue