mirror of https://github.com/django/django.git
Removed unused OrderWrt.deconstruct().
This commit is contained in:
parent
8274160520
commit
686772c177
|
@ -16,8 +16,3 @@ class OrderWrt(fields.IntegerField):
|
||||||
kwargs['name'] = '_order'
|
kwargs['name'] = '_order'
|
||||||
kwargs['editable'] = False
|
kwargs['editable'] = False
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
def deconstruct(self):
|
|
||||||
name, path, args, kwargs = super().deconstruct()
|
|
||||||
del kwargs['editable']
|
|
||||||
return name, path, args, kwargs
|
|
||||||
|
|
Loading…
Reference in New Issue