add num_clients and max_observed_num_clients to RangingBeacon

previous commit message is wrong and actually added the api endpoint
This commit is contained in:
Gwendolyn 2024-12-29 19:45:57 +01:00
parent 6269f29c51
commit 4a29a28634

View file

@ -528,6 +528,9 @@ class RangingBeacon(SpaceGeometryMixin, models.Model):
altitude_quest = models.BooleanField(_('altitude quest'), default=True)
num_clients = models.IntegerField(_('current number of clients'), default=0)
max_observed_num_clients = models.IntegerField(_('highest observed number of clients'), default=0)
class Meta:
verbose_name = _('Ranging beacon')
verbose_name_plural = _('Ranging beacons')