Skip to content

Commit

Permalink
Update urls.py
Browse files Browse the repository at this point in the history
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
  • Loading branch information
gitworkflows authored Dec 26, 2024
1 parent 6a51a9b commit ea98a63
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion api_app/ingestors_manager/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@
from rest_framework import routers

# Routers provide an easy way of automatically determining the URL conf.
from api_app.ingestors_manager.views import IngestorConfigViewSet
from api_app.ingestors_manager.views import (
IngestorConfigViewSet,
IngestorPluginConfigViewSet,
)

router = routers.DefaultRouter(trailing_slash=False)
router.register(r"ingestor", IngestorConfigViewSet, basename="ingestor")
router.register(
r"ingestor/(?P<name>\w+)",
IngestorPluginConfigViewSet,
basename="plugin-config-ingestor",
)

urlpatterns = [
# Viewsets
Expand Down

0 comments on commit ea98a63

Please sign in to comment.