From 949e4b5174f1990b480cbb9fca85dd48c9f4a789 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 25 Apr 2024 14:50:27 +0200 Subject: CSV : export des lat, long --- chimere/models.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chimere/models.py') diff --git a/chimere/models.py b/chimere/models.py index a58a628..cdbf79b 100644 --- a/chimere/models.py +++ b/chimere/models.py @@ -1207,6 +1207,14 @@ class Marker(GeographicItem): ordering = ('status', 'name') verbose_name = _("Point of interest") + @property + def x(self): + return self.point.x + + @property + def y(self): + return self.point.y + @property def multimedia_items(self): pict = list(self.pictures.filter(miniature=False).all()) -- cgit v1.2.3