fixed DRF object permission

This commit is contained in:
vabene1111
2020-06-17 12:12:42 +02:00
parent 4ee5a4fd9f
commit 18bfecb026
3 changed files with 27 additions and 5 deletions

View File

@ -10,6 +10,7 @@ from cookbook.helper import dal
router = routers.DefaultRouter()
router.register(r'user-preference', api.UserPreferenceViewSet)
router.register(r'recipe-book', api.RecipeBookViewSet)
router.register(r'recipe', api.RecipeViewSet)
router.register(r'meal-plan', api.MealPlanViewSet)
router.register(r'meal-type', api.MealTypeViewSet)