mirror of
https://github.com/quantum5/qlinks.git
synced 2025-04-24 10:41:57 -04:00
Handle root redirect
This commit is contained in:
parent
b5bfac4b30
commit
42b39ca2ca
|
@ -1,7 +1,10 @@
|
|||
from functools import partial
|
||||
|
||||
from django.urls import path
|
||||
|
||||
from qlinks.views import short_link
|
||||
|
||||
urlpatterns = [
|
||||
path('', partial(short_link, slug=''), name='short_link'),
|
||||
path('<slug>', short_link, name='short_link'),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue