2016-06-18 14:39:32 +00:00
|
|
|
from django.contrib import admin
|
2018-12-07 22:52:28 +00:00
|
|
|
from django.urls import include, path
|
2016-06-18 14:39:32 +00:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2022-02-03 19:24:19 +00:00
|
|
|
backend_urls = (
|
|
|
|
[
|
|
|
|
path("something/", views.XViewClass.as_view(), name="something"),
|
|
|
|
],
|
|
|
|
"backend",
|
|
|
|
)
|
2016-06-18 14:39:32 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2022-02-03 19:24:19 +00:00
|
|
|
path("admin/doc/", include("django.contrib.admindocs.urls")),
|
|
|
|
path("admin/", admin.site.urls),
|
|
|
|
path("api/backend/", include(backend_urls, namespace="backend")),
|
2016-06-18 14:39:32 +00:00
|
|
|
]
|