2019-03-26 20:22:54 +00:00
|
|
|
from django.urls import re_path, path
|
|
|
|
from .views import TokenDetailView, TokenFindListView
|
2018-08-18 13:26:49 +00:00
|
|
|
|
|
|
|
app_name = 'tokens'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2019-03-26 20:22:54 +00:00
|
|
|
path('', TokenFindListView.as_view(), name='tokenfind_list'),
|
2018-08-18 13:26:49 +00:00
|
|
|
re_path(
|
|
|
|
'(?P<token>[0-9a-zA-Z\.@]+)/$',
|
|
|
|
TokenDetailView.as_view(),
|
|
|
|
name='details'
|
|
|
|
),
|
|
|
|
]
|
|
|
|
|