mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
fixed lint issues
This commit is contained in:
parent
b063b9eda2
commit
6430072593
@ -14,7 +14,6 @@ from . import filtersets, forms, tables
|
||||
from .models import *
|
||||
|
||||
|
||||
|
||||
class ChildContactView(generic.ObjectChildrenView):
|
||||
child_model = Contact
|
||||
table = tables.ContactTable
|
||||
@ -32,12 +31,11 @@ class ChildContactView(generic.ObjectChildrenView):
|
||||
assignment_count=count_related(ContactAssignment, 'contact')
|
||||
).restrict(request.user, 'view').filter(assignments__object_id=parent.pk)
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Tenant groups
|
||||
#
|
||||
|
||||
|
||||
class TenantGroupListView(generic.ObjectListView):
|
||||
queryset = TenantGroup.objects.add_related_count(
|
||||
TenantGroup.objects.all(),
|
||||
@ -371,6 +369,7 @@ class ContactBulkDeleteView(generic.BulkDeleteView):
|
||||
# Contact assignments
|
||||
#
|
||||
|
||||
|
||||
class ContactAssignmentListView(generic.ObjectListView):
|
||||
queryset = ContactAssignment.objects.all()
|
||||
filterset = filtersets.ContactAssignmentFilterSet
|
||||
|
Loading…
Reference in New Issue
Block a user