Start main app

This commit is contained in:
Nyymix 2025-08-09 18:25:13 +03:00
parent eab48b216e
commit 64576a7f09
10 changed files with 31 additions and 1 deletions

View file

@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'main'
]
MIDDLEWARE = [

View file

@ -15,8 +15,9 @@ 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 include, path
urlpatterns = [
path("", include("main.urls")),
path('admin/', admin.site.urls),
]