remove reference to Subnet
diff --git a/plstackapi/core/serializers.py b/plstackapi/core/serializers.py
index e9dc526..b6a9e7d 100644
--- a/plstackapi/core/serializers.py
+++ b/plstackapi/core/serializers.py
@@ -52,7 +52,6 @@
id = serializers.Field()
site = serializers.HyperlinkedRelatedField(view_name='site-detail')
slivers = serializers.HyperlinkedRelatedField(view_name='sliver-detail')
- subnet= serializers.HyperlinkedRelatedField(view_name='subnet-detail')
class Meta:
model = Slice
fields = ('id',
@@ -83,19 +82,6 @@
'slice',
'role')
-class SubnetSerializer(serializers.HyperlinkedModelSerializer):
- id = serializers.Field()
- slice = serializers.HyperlinkedRelatedField(view_name='slice-detail')
- class Meta:
- model = Subnet
- fields = ('id',
- 'subnet_id',
- 'cidr',
- 'ip_version',
- 'start',
- 'end',
- 'slice')
-
class SiteSerializer(serializers.HyperlinkedModelSerializer):
#Experimenting with whether to use ids, hyperlinks, or nested includes