mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
TagKey __str__
This commit is contained in:
@@ -52,6 +52,9 @@ class TagKey(models.Model):
|
||||
# the obvious constraint, which doubles as a lookup index for store_tags and search.
|
||||
unique_together = ('project', 'key')
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.key}"
|
||||
|
||||
|
||||
class TagValue(models.Model):
|
||||
project = models.ForeignKey(Project, blank=False, null=False, on_delete=models.DO_NOTHING)
|
||||
|
||||
Reference in New Issue
Block a user