From f3a06b06b59b3d24d5c2c14a34a8051879203c45 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 9 Aug 2022 09:26:12 +0200 Subject: [PATCH] Removed unused InlineAdminForm.ordering_field(). Unused since its introduction in a19ed8aea395e8e07164ff7d85bd7dff2f24edca. --- django/contrib/admin/helpers.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py index 9068ce57da..27b35f6ce8 100644 --- a/django/contrib/admin/helpers.py +++ b/django/contrib/admin/helpers.py @@ -526,11 +526,6 @@ class InlineAdminForm(AdminForm): 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): def __init__(self, formset, *args, **kwargs):