Skip to content
Snippets Groups Projects
Commit a132fe29 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Fix a few lint warnings

parent 3590cfd0
No related branches found
No related tags found
1 merge request!104Remove the 'email' and 'mobile_phone' fields on Person ...
Pipeline #96663 passed
......@@ -33,7 +33,7 @@ class PersonFilter(FilterSet):
def verified_filter(self, queryset, name, value):
if value is True:
return queryset.with_verified_identities()
elif value is False:
if value is False:
return queryset.without_verified_identities()
return queryset
......
from django.db.models import Count, Manager, Q, QuerySet
from django.utils import timezone
from django.db.models import Count, Manager, QuerySet
class PersonQuerySet(QuerySet):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment