chore(api): route using urls
Allow to register function views in the same app instead of globaly.
This commit is contained in:
parent
33e5e8ada3
commit
0e3ede5a1a
6 changed files with 22 additions and 14 deletions
|
@ -30,3 +30,5 @@ router.register("smart-block-criteria", SmartBlockCriteriaViewSet)
|
|||
router.register("smart-blocks", SmartBlockViewSet)
|
||||
router.register("webstream-metadata", WebstreamMetadataViewSet)
|
||||
router.register("webstreams", WebstreamViewSet)
|
||||
|
||||
urls = router.urls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue