add position update API endpoint and remove old one, also some more api tweaks

This commit is contained in:
Laura Klünder 2023-11-24 15:42:48 +01:00
parent 92ce608034
commit d6b9161345
9 changed files with 73 additions and 89 deletions

View file

@ -588,7 +588,6 @@ class Position(CustomLocationProxyMixin, models.Model):
timeout = models.PositiveSmallIntegerField(_('timeout (in seconds)'), default=0, blank=True,
help_text=_('0 for no timeout'))
coordinates_id = models.CharField(_('coordinates'), null=True, blank=True, max_length=48)
api_secret = models.CharField(_('api secret'), max_length=64, default=get_position_api_secret)
can_search = True
can_describe = False