2016-04-28 05:38:00 +08:00
|
|
|
from django.conf.urls import url
|
2016-10-21 01:29:04 +08:00
|
|
|
from django.urls import path
|
2015-09-22 01:45:56 +08:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-10-21 01:29:04 +08:00
|
|
|
path('/path-starting-with-slash/', lambda x: x),
|
|
|
|
url(r'/url-starting-with-slash/$', lambda x: x),
|
2015-09-22 01:45:56 +08:00
|
|
|
]
|