fix scancollector with wifi and ibeacon
This commit is contained in:
parent
f97b57fbc8
commit
7532fc39ed
4 changed files with 27 additions and 14 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue