feat: update game models and configure PostgreSQL

This commit is contained in:
Денис Братусев committed 2026-10-28 12:06:32 +03:00
1 parent a2cccbda59
commit 196d1e2ed7
14 files changed
+520 -8

No files matched your search

+8
View File
@@ -16,7 +16,15 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path
from django.urls import include
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('apps.games.urls')),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)