From e6f9b0c7c575024f8c0adebfe4820f9290d1f9ef Mon Sep 17 00:00:00 2001 From: MRoci Date: Fri, 21 Apr 2023 15:04:24 +0200 Subject: [PATCH] blackify missing files --- django_su/forms.py | 1 - example/lookups.py | 1 - 2 files changed, 2 deletions(-) diff --git a/django_su/forms.py b/django_su/forms.py index 3c294e5..706b903 100644 --- a/django_su/forms.py +++ b/django_su/forms.py @@ -10,7 +10,6 @@ class UserSuForm(forms.Form): - username_field = getattr(User, "USERNAME_FIELD", None) user = forms.ModelChoiceField( diff --git a/example/lookups.py b/example/lookups.py index 0f8cdf1..a288127 100644 --- a/example/lookups.py +++ b/example/lookups.py @@ -10,7 +10,6 @@ @register("django_su") class UsersLookup(LookupChannel): - model = get_user_model() def get_query(self, q, request):