mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-28 02:43:27 +01:00
13 lines
474 B
Python
13 lines
474 B
Python
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'))
|
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + local_urlpatterns
|