Commit e69edf66 authored by Michal Čihař's avatar Michal Čihař

Add unicode method to advertisement

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 3e13f405
......@@ -126,3 +126,6 @@ class Advertisement(models.Model):
index_together = [
('placement', 'date_start', 'date_end'),
]
def __unicode__(self):
return self.text
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment