diff --git a/v1/list/views.py b/v1/list/views.py index a5692e7..08b480d 100644 --- a/v1/list/views.py +++ b/v1/list/views.py @@ -17,6 +17,7 @@ class GroceryListViewSet(viewsets.ModelViewSet): This viewset automatically provides `list`, `create`, `retrieve`, `update` and `destroy` actions. """ + lookup_field = 'slug' serializer_class = GroceryListSerializer permission_classes = (IsListOwner,)