##// END OF EJS Templates
Made ban object show IP in 'str' method instead of 'unicode' which was user...
neko259 -
r798:a4412d93 decentral
parent child Browse files
Show More
@@ -16,5 +16,5 b' class Ban(models.Model):'
16 16 max_length=BAN_REASON_MAX_LENGTH)
17 17 can_read = models.BooleanField(default=True)
18 18
19 def __unicode__(self):
19 def __str__(self):
20 20 return self.ip
General Comments 0
You need to be logged in to leave comments. Login now