mirror of
https://github.com/evgen-app/chess_rpg_backend.git
synced 2024-11-22 09:37:05 +03:00
10 lines
312 B
Python
10 lines
312 B
Python
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
from django.urls import path, include
|
|
|
|
urlpatterns = (
|
|
[path("api/", include("game.urls"))]
|
|
+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
|
+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
|
)
|