refactored homepage to incl. template structure in root dir; renamed lists app to dashboard & renamed paths in linked py files accordingly (e.g., apps.dashboard.apps, .views; core.settings)

This commit is contained in:
Disco DeDisco
2025-12-30 22:05:33 -05:00
parent f267dd98ae
commit 394d46c718
9 changed files with 4 additions and 26 deletions

View File

@@ -39,7 +39,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
# Custom apps
'apps.lists',
'apps.dashboard',
# Depend apps
]
@@ -58,7 +58,7 @@ ROOT_URLCONF = 'core.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [BASE_DIR / 'templates'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
@@ -71,6 +71,7 @@ TEMPLATES = [
]
WSGI_APPLICATION = 'core.wsgi.application'
ASGI_APPLICATION = 'core.asgi.application'
# Database

View File

@@ -1,6 +1,6 @@
from django.contrib import admin
from django.urls import path
from apps.lists.views import home_page
from apps.dashboard.views import home_page
urlpatterns = [
path('admin/', admin.site.urls),