7 lines
177 B
Python
7 lines
177 B
Python
from django.urls import include, re_path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
re_path(r'^$', views.home, name='home'),
|
|
re_path(r'(.*)', views.catchall, name='short'),
|
|
]
|