Display gps coordinates in room admin

This commit is contained in:
Gabriel Augendre 2018-04-02 14:35:04 +02:00
parent 17b2415d08
commit cbac5038aa
No known key found for this signature in database
GPG key ID: F360212F958357D4

View file

@ -5,7 +5,7 @@ from gym.models import Room, Equipment, TheoreticalMax, Session, Round, Unit, Wo
@admin.register(Room)
class RoomAdmin(admin.ModelAdmin):
list_display = ['name']
list_display = ['name', 'latitude', 'longitude']
@admin.register(Equipment)