mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-05-02 02:55:40 +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:
parent
83db42cc60
commit
81f907b7bf
@ -93,8 +93,8 @@ class TemporaryUser(models.Model):
|
|||||||
verbose_name = "Temporary User"
|
verbose_name = "Temporary User"
|
||||||
verbose_name_plural = "Temporary Users"
|
verbose_name_plural = "Temporary Users"
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self) -> str:
|
||||||
return self.t_username
|
return str(self.t_username)
|
||||||
|
|
||||||
|
|
||||||
class Atoll(models.Model):
|
class Atoll(models.Model):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user