mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:29:16 +02:00
15 lines
296 B
Python
15 lines
296 B
Python
from rest_framework import routers
|
|
|
|
from . import views
|
|
|
|
router = routers.SimpleRouter(trailing_slash=False)
|
|
router.register(
|
|
r'instance',
|
|
views.InstanceViewSet,
|
|
'instance')
|
|
router.register(
|
|
r'.well-known',
|
|
views.WellKnownViewSet,
|
|
'well-known')
|
|
|
|
urlpatterns = router.urls
|