Skip to content

Commit

Permalink
Remove unused inline
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Sep 20, 2024
1 parent 8ce3815 commit 0af3060
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/ralph/data_center/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,22 +269,6 @@ class DataCenterAdmin(RalphAdmin):
'shortcut']


class NetworkTerminatorReadOnlyInline(RalphTabularM2MInline):
model = Network
extra = 0
show_change_link = True
verbose_name_plural = _('Terminators of')
fields = [
'name', 'address',
]

def get_readonly_fields(self, request, obj=None):
return self.get_fields(request, obj)

def has_add_permission(self, request):
return False


class DataCenterAssetNetworkView(NetworkWithTerminatorsView):
pass

Expand Down

0 comments on commit 0af3060

Please sign in to comment.