2013-11-21 08:48:29 +01:00
|
|
|
from django.contrib import admin
|
2018-12-07 23:52:28 +01:00
|
|
|
from django.urls import include, path
|
2013-05-18 17:43:21 +02:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2015-05-28 17:25:52 +02:00
|
|
|
ns_patterns = (
|
|
|
|
[
|
2018-12-07 23:52:28 +01:00
|
|
|
path("xview/func/", views.xview_dec(views.xview), name="func"),
|
2015-05-28 17:25:52 +02:00
|
|
|
],
|
|
|
|
"test",
|
|
|
|
)
|
2013-11-05 10:16:27 +01:00
|
|
|
|
2014-04-02 02:46:34 +02:00
|
|
|
urlpatterns = [
|
2018-12-07 23:52:28 +01:00
|
|
|
path("admin/", admin.site.urls),
|
|
|
|
path("admindocs/", include("django.contrib.admindocs.urls")),
|
|
|
|
path("", include(ns_patterns, namespace="test")),
|
2024-10-31 14:40:00 +01:00
|
|
|
path("company/", views.CompanyView.as_view()),
|
2018-12-07 23:52:28 +01:00
|
|
|
path("xview/func/", views.xview_dec(views.xview)),
|
|
|
|
path("xview/class/", views.xview_dec(views.XViewClass.as_view())),
|
|
|
|
path("xview/callable_object/", views.xview_dec(views.XViewCallableObject())),
|
|
|
|
path("xview/callable_object_without_xview/", views.XViewCallableObject()),
|
2014-04-02 02:46:34 +02:00
|
|
|
]
|