feat: env variable for map location

This commit is contained in:
relikd
2024-07-28 12:58:26 +02:00
parent 571d8fdb56
commit 63ea55472f
2 changed files with 6 additions and 2 deletions

View File

@@ -34,8 +34,8 @@ class Place(models.Model):
description = models.TextField('Beschreibung', blank=True, null=True)
location = LocationField('Position', blank=True, null=True, options={
'map': {
'center': [52.52, 13.40],
'zoom': 12,
'center': settings.MAP_CENTER,
'zoom': settings.MAP_ZOOM,
},
})