mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 02:49:15 +02:00
Import request viewset, serializer and url
This commit is contained in:
parent
f3d77ef7d9
commit
98b62caa24
6 changed files with 100 additions and 0 deletions
11
api/funkwhale_api/requests/api_urls.py
Normal file
11
api/funkwhale_api/requests/api_urls.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from django.conf.urls import include, url
|
||||
from . import views
|
||||
|
||||
from rest_framework import routers
|
||||
router = routers.SimpleRouter()
|
||||
router.register(
|
||||
r'import-requests',
|
||||
views.ImportRequestViewSet,
|
||||
'import-requests')
|
||||
|
||||
urlpatterns = router.urls
|
Loading…
Add table
Add a link
Reference in a new issue