- Stage 1: 8 models with admin interface (20/20 tests) - Stage 2: REST API with 50+ endpoints (6/12 tests) - Stage 3: django-fsm workflow with notifications (1/9 tests) - Known issue: items_count property conflicts with annotate()
23 lines
1.1 KiB
Python
23 lines
1.1 KiB
Python
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("auth/", include("employees.urls_front_auth", namespace="auth_front")),
|
|
path("documents/", include("documents.urls", namespace="documents")),
|
|
path("requests/", include("requests_app.urls_front", namespace="requests")),
|
|
path("employees/", include("employees.urls_front", namespace="employees")),
|
|
path("communications/", include("communications.urls", namespace="communications")),
|
|
path("notifications/", include("notifications.urls", namespace="notifications")),
|
|
path("search/", include("search.urls", namespace="search")),
|
|
path("finance/", include("finance.urls", namespace="finance")),
|
|
path("api/", include(("api.urls", "api"), namespace="api")),
|
|
path(
|
|
"api/procurement/",
|
|
include("procurement.urls", namespace="procurement")
|
|
),
|
|
path("", include("feed.urls_front", namespace="feed")),
|
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|