Commit 7f19831c by Kálmán Viktor

network: disabled pagination

parent f3f433d7
...@@ -19,6 +19,7 @@ class BlacklistList(SingleTableView): ...@@ -19,6 +19,7 @@ class BlacklistList(SingleTableView):
model = Blacklist model = Blacklist
table_class = BlacklistTable table_class = BlacklistTable
template_name = "network/blacklist-list.html" template_name = "network/blacklist-list.html"
table_pagination = False
class BlacklistDetail(UpdateView): class BlacklistDetail(UpdateView):
...@@ -35,6 +36,7 @@ class DomainList(SingleTableView): ...@@ -35,6 +36,7 @@ class DomainList(SingleTableView):
model = Domain model = Domain
table_class = DomainTable table_class = DomainTable
template_name = "network/domain-list.html" template_name = "network/domain-list.html"
table_pagination = False
class DomainDetail(UpdateView): class DomainDetail(UpdateView):
...@@ -51,6 +53,7 @@ class GroupList(SingleTableView): ...@@ -51,6 +53,7 @@ class GroupList(SingleTableView):
model = Group model = Group
table_class = GroupTable table_class = GroupTable
template_name = "network/group-list.html" template_name = "network/group-list.html"
table_pagination = False
class GroupDetail(UpdateView): class GroupDetail(UpdateView):
...@@ -67,6 +70,7 @@ class HostList(SingleTableView): ...@@ -67,6 +70,7 @@ class HostList(SingleTableView):
model = Host model = Host
table_class = HostTable table_class = HostTable
template_name = "network/host-list.html" template_name = "network/host-list.html"
table_pagination = False
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super(HostList, self).get_context_data(**kwargs) context = super(HostList, self).get_context_data(**kwargs)
...@@ -99,6 +103,7 @@ class RecordList(SingleTableView): ...@@ -99,6 +103,7 @@ class RecordList(SingleTableView):
model = Record model = Record
table_class = RecordTable table_class = RecordTable
template_name = "network/record-list.html" template_name = "network/record-list.html"
table_pagination = False
class RecordDetail(UpdateView): class RecordDetail(UpdateView):
...@@ -121,6 +126,7 @@ class VlanList(SingleTableView): ...@@ -121,6 +126,7 @@ class VlanList(SingleTableView):
model = Vlan model = Vlan
table_class = VlanTable table_class = VlanTable
template_name = "network/vlan-list.html" template_name = "network/vlan-list.html"
table_pagination = False
class VlanDetail(UpdateView): class VlanDetail(UpdateView):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment