15 lines
417 B
Python
15 lines
417 B
Python
|
|
from django.urls import path, include
|
||
|
|
from django.conf import settings
|
||
|
|
from django.conf.urls.static import static
|
||
|
|
|
||
|
|
urlpatterns = [
|
||
|
|
path('api/', include([
|
||
|
|
path('', include('apps.projects.urls')),
|
||
|
|
path('', include('apps.templates.urls')),
|
||
|
|
path('', include('apps.exports.urls')),
|
||
|
|
])),
|
||
|
|
]
|
||
|
|
|
||
|
|
if settings.DEBUG:
|
||
|
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|