make linter happy

This commit is contained in:
Laura Klünder 2023-11-26 17:55:23 +01:00
parent 42280d6c71
commit 8a8b20f22e
16 changed files with 56 additions and 63 deletions

View file

@ -576,10 +576,6 @@ def get_position_secret():
return get_random_string(32, string.ascii_letters+string.digits)
def get_position_api_secret():
return get_random_string(64, string.ascii_letters+string.digits)
class Position(CustomLocationProxyMixin, models.Model):
owner = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
name = models.CharField(_('name'), max_length=32)