diff --git a/.idea/Rasaddam_Backend.iml b/.idea/Rasaddam_Backend.iml
index c5d6090..168bde0 100644
--- a/.idea/Rasaddam_Backend.iml
+++ b/.idea/Rasaddam_Backend.iml
@@ -14,7 +14,7 @@
-
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 29f5506..296aa57 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/apps/herd/web/api/v1/serializers.py b/apps/herd/web/api/v1/serializers.py
index 7dd40d9..a7f4293 100644
--- a/apps/herd/web/api/v1/serializers.py
+++ b/apps/herd/web/api/v1/serializers.py
@@ -31,3 +31,18 @@ class RancherSerializer(serializers.ModelSerializer):
class Meta:
model = Rancher
fields = '__all__'
+
+ def to_representation(self, instance):
+ representation = super().to_representation(instance)
+
+ representation['province'] = {
+ 'id': instance.province.id,
+ 'name': instance.province.name
+ }
+
+ representation['city'] = {
+ 'id': instance.city.id,
+ 'name': instance.city.name
+ }
+
+ return representation