Show hook name in signal string method
This commit is contained in:
parent
3b8e5dbdd1
commit
d59d571679
|
@ -183,7 +183,7 @@ class Signal(models.Model):
|
|||
received = models.IntegerField(default=0)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.name} ({self.signal}) - {self.direction}"
|
||||
return f"{self.name} ({self.hook.name}) - {self.direction}"
|
||||
|
||||
|
||||
class Trade(models.Model):
|
||||
|
|
Loading…
Reference in New Issue