chess_rpg_backend/chess_backend/urls.py

10 lines
312 B
Python
Raw Normal View History

2022-06-04 19:30:54 +03:00
from django.conf import settings
from django.conf.urls.static import static
from django.urls import path, include
2022-06-04 19:30:54 +03:00
urlpatterns = (
[path("api/", include("game.urls"))]
2022-06-04 19:30:54 +03:00
+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
)