Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
23a234fc
Commit
23a234fc
authored
Jul 31, 2018
by
Guilhem Saurel
Browse files
fix "strictness" for django_filters 2
parent
5c6a92b8
Pipeline
#1089
passed with stages
in 3 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/views.py
View file @
23a234fc
...
...
@@ -25,6 +25,7 @@ class ProjectsView(SingleTableMixin, FilterView):
model
=
models
.
Project
table_class
=
tables
.
ProjectTable
filterset_class
=
filters
.
ProjectFilter
strict
=
False
class
GepettoProjectsView
(
ProjectsView
):
...
...
@@ -91,6 +92,7 @@ class ContributorsView(SingleTableMixin, DistinctMixin, FilterView):
queryset
=
models
.
Contributor
.
objects
.
gepettist
()
table_class
=
tables
.
ContributorProjectTable
filterset_class
=
filters
.
ContributorFilter
strict
=
False
def
json_doc
(
request
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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