We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9408288 commit c7d3319Copy full SHA for c7d3319
ninja_apikey/models.py
@@ -29,4 +29,4 @@ def is_valid(self):
29
return self.expires_at >= timezone.now()
30
31
def __str__(self):
32
- return f"{self.user.username}<{self.prefix}>"
+ return f"{self.user.get_username()}<{self.prefix}>"
0 commit comments