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:
parent
6269f29c51
commit
4a29a28634
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue