Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pole-Web
Website
Commits
1e4c54eb
Commit
1e4c54eb
authored
Mar 29, 2022
by
VAN ZUIJLEN Nils
Committed by
VOISIN Thomas
Apr 26, 2022
Browse files
Fix typing complaint in boutique.views
parent
6a72750c
Changes
1
Hide whitespace changes
Inline
Side-by-side
boutique/views.py
View file @
1e4c54eb
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment