django-helpdeskmig/standalone/config/urls.py

13 lines
474 B
Python
Raw Normal View History

2023-10-23 14:49:15 +02:00
from .local_urls import local_urlpatterns
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('helpdesk.urls', namespace='helpdesk')),
path('api/auth/', include('rest_framework.urls', namespace='rest_framework'))
2023-10-23 14:00:03 +02:00
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + local_urlpatterns