2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path, re_path
|
2015-05-28 23:25:52 +08:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'inc-app'
|
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08:00
|
|
|
path('normal/', views.empty_view, name='inc-normal-view'),
|
|
|
|
re_path('^normal/(?P<arg1>[0-9]+)/(?P<arg2>[0-9]+)/$', views.empty_view, name='inc-normal-view'),
|
2015-05-28 23:25:52 +08:00
|
|
|
|
2018-12-08 06:52:28 +08:00
|
|
|
re_path(r'^\+\\\$\*/$', views.empty_view, name='inc-special-view'),
|
2015-05-28 23:25:52 +08:00
|
|
|
|
2018-12-08 06:52:28 +08:00
|
|
|
re_path('^mixed_args/([0-9]+)/(?P<arg2>[0-9]+)/$', views.empty_view, name='inc-mixed-args'),
|
|
|
|
re_path('^no_kwargs/([0-9]+)/([0-9]+)/$', views.empty_view, name='inc-no-kwargs'),
|
2015-05-28 23:25:52 +08:00
|
|
|
|
2018-12-08 06:52:28 +08:00
|
|
|
re_path('^view_class/(?P<arg1>[0-9]+)/(?P<arg2>[0-9]+)/$', views.view_class_instance, name='inc-view-class'),
|
2015-05-28 23:25:52 +08:00
|
|
|
]
|