bornhack-website/src/tokens/urls.py

15 lines
317 B
Python
Raw Normal View History

from django.urls import re_path, path
from .views import TokenDetailView, TokenFindListView
2018-08-18 13:26:49 +00:00
app_name = 'tokens'
urlpatterns = [
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'
),
]