Commit 23a234fc authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix "strictness" for django_filters 2

parent 5c6a92b8
Pipeline #1089 passed with stages
in 3 minutes and 20 seconds
......@@ -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):
......
Markdown is supported
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