fixed url router and added recipe import test ressources

This commit is contained in:
vabene1111
2020-06-22 23:35:18 +02:00
parent 976dd13a31
commit dc91e1e8ed
12 changed files with 24929 additions and 12 deletions

View File

@ -12,7 +12,7 @@ router = routers.DefaultRouter()
router.register(r'user-preference', api.UserPreferenceViewSet)
router.register(r'recipe', api.RecipeViewSet)
router.register(r'ingredient', api.IngredientViewSet)
router.register(r'recipe-ingredient', api.RecipeIngredientSerializer)
router.register(r'recipe-ingredient', api.RecipeIngredientViewSet)
router.register(r'meal-plan', api.MealPlanViewSet)
router.register(r'meal-type', api.MealTypeViewSet)
router.register(r'view-log', api.ViewLogViewSet)