Fakultas Ilmu Komputer UI

Commit 35487a71 authored by Usman Sidiq's avatar Usman Sidiq
Browse files

Merge branch 'dev-sidiq' into 'PBI-4-menambahkan_informasi_fasilitas_publik'

[REFACTOR] Adding id field to location

See merge request !22
parents 81fc32a8 2d3539df
Pipeline #40185 passed with stages
in 3 minutes and 46 seconds
......@@ -5,4 +5,4 @@ from .models import Lokasi
class LokasiSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Lokasi
fields = ('name', 'latitude', 'longitude', 'alamat', 'no_telp', 'image')
\ No newline at end of file
fields = ('id', 'name', 'latitude', 'longitude', 'alamat', 'no_telp', 'image')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment