fix scancollector with wifi and ibeacon

This commit is contained in:
Laura Klünder 2024-03-31 17:28:35 +02:00
parent f97b57fbc8
commit 7532fc39ed
4 changed files with 27 additions and 14 deletions

View file

@ -461,7 +461,7 @@ class BeaconMeasurement(SpaceGeometryMixin, models.Model):
author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=True,
verbose_name=_('author'))
comment = models.TextField(null=True, blank=True, verbose_name=_('comment'))
data = models.JSONField(_('Measurement list'), default=list) # would be nice if this used pydantic
data = models.JSONField(_('Measurement list'), default=dict) # would be nice if this used pydantic
class Meta:
verbose_name = _('Beacon Measurement')