You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
671 B

2 years ago
from django.urls import path
from leftists.views import ShortLinkRedirectView, CoolerLoginView, OverView, LinkCreateView, LinkUpdateView, \
LinkDeleteView
urlpatterns = [
path('', CoolerLoginView.as_view(), name='login'),
path('iface/overview', OverView.as_view(), name='interface.overview'),
path('iface/link/create', LinkCreateView.as_view(), name='interface.link.create'),
path('iface/link/update/<str:slug>', LinkUpdateView.as_view(), name='interface.link.update'),
path('iface/link/delete/<str:slug>', LinkDeleteView.as_view(), name='interface.link.delete'),
path('<str:link>', ShortLinkRedirectView.as_view(), name='link-redirect'),
]