mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Remove unused method
This commit is contained in:
parent
0b68a9c259
commit
a97db67237
@ -258,12 +258,6 @@ class ConfigContextForm(BootstrapMixin, SyncedDataMixin, forms.ModelForm):
|
||||
'tenants', 'tags', 'data_source', 'data_file',
|
||||
)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
# if self.instance and self.instance.data_file:
|
||||
# self.fields['data'].widget.attrs.update({'disabled': True})
|
||||
|
||||
def clean(self):
|
||||
super().clean()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user