mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
PEP8 fix
This commit is contained in:
parent
0da113b723
commit
e3e9211e8a
@ -113,8 +113,8 @@ class ObjectConfigContextView(View):
|
||||
model_name: obj,
|
||||
'obj': obj,
|
||||
'perm_string': '{}.change_{}'.format(app_label, model_name),
|
||||
'edit_url':'{}:{}_edit_localconfigcontext'.format(app_label, model_name),
|
||||
'delete_url':'{}:{}_delete_localconfigcontext'.format(app_label, model_name),
|
||||
'edit_url': '{}:{}_edit_localconfigcontext'.format(app_label, model_name),
|
||||
'delete_url': '{}:{}_delete_localconfigcontext'.format(app_label, model_name),
|
||||
'rendered_context': obj.get_config_context(),
|
||||
'source_contexts': source_contexts,
|
||||
'base_template': self.base_template,
|
||||
|
@ -855,7 +855,7 @@ class ObjectSetFieldNullView(ObjectDeleteView):
|
||||
field_human_friendly_name = None
|
||||
|
||||
def get(self, request, **kwargs):
|
||||
|
||||
|
||||
obj = self.get_object(kwargs)
|
||||
form = ConfirmationForm(initial=request.GET)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user