Commit 1e4c54eb authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils Committed by VOISIN Thomas
Browse files

Fix typing complaint in boutique.views

parent 6a72750c
......@@ -315,7 +315,7 @@ class ManageCategoryView(PermissionRequiredMixin, ListView, ModelFormMixin): #
object = None
def post(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
self.object_list = self.get_queryset()
self.object_list = self.get_queryset() # type: ignore # A QuerySet is a Sequence
form = self.get_form()
if form.is_valid():
return self.form_valid(form)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment