CI / test (pull_request) Successful in 6s
Standalone Django service so callers can mint links and phones get a 302. Closes #1.
10 lines
268 B
Python
10 lines
268 B
Python
from django.urls import path
|
|
|
|
from links import api
|
|
|
|
urlpatterns = [
|
|
path("", api.links_collection, name="links-collection"),
|
|
path("<str:code>/", api.link_detail, name="links-detail"),
|
|
path("<str:code>/disable/", api.link_disable, name="links-disable"),
|
|
]
|