2023-10-02 17:31:24 +02:00
|
|
|
from django.views.generic import ListView
|
|
|
|
|
2023-10-02 17:42:01 +02:00
|
|
|
from c3nav.control.views.base import ControlPanelMixin
|
2023-10-02 17:31:24 +02:00
|
|
|
from c3nav.mesh.models import MeshNode
|
|
|
|
|
|
|
|
|
|
|
|
class MeshNodeListView(ControlPanelMixin, ListView):
|
|
|
|
model = MeshNode
|
|
|
|
template_name = "control/mesh_nodes.html"
|
|
|
|
ordering = "address"
|
|
|
|
context_object_name = "nodes"
|