summaryrefslogtreecommitdiffstats
path: root/flatpages/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'flatpages/models.py')
-rw-r--r--flatpages/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/models.py b/flatpages/models.py
index 7631881..23739ca 100644
--- a/flatpages/models.py
+++ b/flatpages/models.py
@@ -8,5 +8,5 @@ class Redirect(models.Model):
class EntranceRedirect(models.Model):
originalURL = models.CharField(max_length=200)
entrance = models.ForeignKey(Entrance)
- def __unicode__(self):
+ def __str__(self):
return self.entrance.slug