diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-09 09:26:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-09 09:26:12 +0200 |
| commit | f3a06b06b59b3d24d5c2c14a34a8051879203c45 (patch) | |
| tree | 71351ea4ace569d048d2b4c93679c955b2b1503b | |
| parent | 036bb2b74afb50a71e7a945e8dd83499b603ac3a (diff) | |
Removed unused InlineAdminForm.ordering_field().
Unused since its introduction in a19ed8aea395e8e07164ff7d85bd7dff2f24edca.
| -rw-r--r-- | django/contrib/admin/helpers.py | 5 |
1 files changed, 0 insertions, 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): |
