Skip to content
Snippets Groups Projects
Verified Commit eca95dde authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Remove superfluous queryset definition on model form.

parent 2f773ba3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,6 @@ class BookCopyEditForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields['borrower'].queryset = Person.objects.all()
self.fields['borrower'].disabled = True
......
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