mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
fixed several shopping list issues
This commit is contained in:
@@ -252,7 +252,7 @@ class ShoppingListRecipeViewSet(viewsets.ModelViewSet):
|
||||
class ShoppingListEntryViewSet(viewsets.ModelViewSet):
|
||||
queryset = ShoppingListEntry.objects.all()
|
||||
serializer_class = ShoppingListEntrySerializer
|
||||
permission_classes = [CustomIsUser] # TODO add custom validation
|
||||
permission_classes = [CustomIsOwner] # TODO add custom validation
|
||||
|
||||
# TODO custom get qs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user