mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Removed unused InlineAdminForm.ordering_field().
Unused since its introduction in a19ed8aea3.
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user