Remove obsolete creation_counter field
creation_counter is never used in fields.py and was deprecated in
Django 2.x. Fields of object are keeped internally as ordered
dictionary, so we don't need any additional tools to manage it
Related Django bug:
@@ -640,7 +640,6 @@ class ExternalUploadMeta(forms.DeclarativeFieldsMetaclass):
if isinstance(attr, ExternalFileField):
hidden_field = fields.CharField(widget=fields.HiddenInput,
required=False)
- hidden_field.creation_counter = attr.creation_counter + 1000
new_attr_name = get_double_name(attr_name)
new_attrs[new_attr_name] = hidden_field
meth_name = 'clean_' + new_attr_name
