* init for v3.1 * added coords + bump version * fix filter + added preselected roles * added draw_default_layout * upgraded packages * fixed edge/node labels * fixed enable_circuit_terminations * added filter for unconnected devices * added ignore_cable_type * fixed old settings using a string instead of array * removed distutils * fixed coords check * added coor saving * added doc img * updated docs * bump version * bump version
12 lines
259 B
Python
12 lines
259 B
Python
from rest_framework.serializers import ModelSerializer
|
|
|
|
from dcim.models import DeviceRole, Device
|
|
from extras.models import Tag
|
|
|
|
|
|
class TopologyDummySerializer(ModelSerializer):
|
|
|
|
class Meta:
|
|
model = Device
|
|
fields = ('id', 'name')
|
|
|