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.
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from leftists.views import (CoolerLoginView, LinkCreateView, LinkDeleteView,
|
|
|
|
LinkListView, LinkUpdateView, OverView,
|
|
|
|
ShortLinkRedirectView)
|
|
|
|
|
|
|
|
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('iface/<str:domain>/links', LinkListView.as_view(), name='interface.link.list'),
|
|
|
|
path('<str:link>', ShortLinkRedirectView.as_view(), name='link-redirect'),
|
|
|
|
]
|