mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 05:26:07 +00:00
Add type hint to __str__ method in TemporaryUser model
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m12s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m12s
This commit is contained in:
@ -93,8 +93,8 @@ class TemporaryUser(models.Model):
|
||||
verbose_name = "Temporary User"
|
||||
verbose_name_plural = "Temporary Users"
|
||||
|
||||
def __str__(self):
|
||||
return self.t_username
|
||||
def __str__(self) -> str:
|
||||
return str(self.t_username)
|
||||
|
||||
|
||||
class Atoll(models.Model):
|
||||
|
Reference in New Issue
Block a user