From 118eb9b3276b91fe7f54f904abad893ed2f0c496 Mon Sep 17 00:00:00 2001 From: melinath Date: Thu, 17 Jun 2010 21:33:47 -0400 Subject: [PATCH] Added Redirect unicode. --- models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models.py b/models.py index 0063c86..4df28d3 100644 --- a/models.py +++ b/models.py @@ -283,6 +283,9 @@ class Redirect(Node): response = HttpResponseRedirect(self.target) response.status_code = self.status_code return response + + def __unicode__(self): + return self.slug class File(Node): -- 2.20.1