00af109e2f
* add flake8 to pre-commit config, and fixup many things to make flake8 happy * add isort and sort all imports, add to pre-commit and requirements
11 lines
288 B
Python
11 lines
288 B
Python
from django.urls import path, re_path
|
|
|
|
from .views import TokenDetailView, TokenFindListView
|
|
|
|
app_name = "tokens"
|
|
|
|
urlpatterns = [
|
|
path("", TokenFindListView.as_view(), name="tokenfind_list"),
|
|
re_path(r"(?P<token>[0-9a-zA-Z\.@]+)/$", TokenDetailView.as_view(), name="details"),
|
|
]
|