Removed unused InlineAdminForm.ordering_field().

Unused since its introduction in a19ed8aea3.
This commit is contained in:
Mariusz Felisiak 2022-08-09 09:26:12 +02:00 committed by GitHub
parent 036bb2b74a
commit f3a06b06b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -526,11 +526,6 @@ class InlineAdminForm(AdminForm):
return AdminField(self.form, DELETION_FIELD_NAME, False) return AdminField(self.form, DELETION_FIELD_NAME, False)
def ordering_field(self):
from django.forms.formsets import ORDERING_FIELD_NAME
return AdminField(self.form, ORDERING_FIELD_NAME, False)
class InlineFieldset(Fieldset): class InlineFieldset(Fieldset):
def __init__(self, formset, *args, **kwargs): def __init__(self, formset, *args, **kwargs):