mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-07-22 00:17:21 +02:00
17 lines
507 B
Python
17 lines
507 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
|
|
)
|