add: front (1) Сплеш-скрин index

This commit is contained in:
2026-07-19 02:00:19 +03:00
parent e125146468
commit d99c59718e
8 changed files with 112 additions and 2 deletions
+5 -1
View File
@@ -15,13 +15,17 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include, re_path
from django.conf import settings
from django.conf.urls.static import static
from frontend import views
urlpatterns = [
# Админ-сайт с переименованными приложениями (переопределен в frontend/apps.py)
path(settings.ADMIN_URL, admin.site.urls),
re_path(r'^$', views.index),
]
# Сервировать медиа-файлы в разработке (в production использовать nginx/Apache)