X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/118eb9b3276b91fe7f54f904abad893ed2f0c496..0fe338c484fdfd43a3cdc919c26a2de1307b141e:/models.py?ds=inline diff --git a/models.py b/models.py index 4df28d3..265df32 100644 --- a/models.py +++ b/models.py @@ -283,9 +283,6 @@ class Redirect(Node): response = HttpResponseRedirect(self.target) response.status_code = self.status_code return response - - def __unicode__(self): - return self.slug class File(Node): @@ -298,9 +295,6 @@ class File(Node): response = HttpResponse(wrapper, content_type=self.mimetype) response['Content-Length'] = self.file.size return response - - def __unicode__(self): - return self.file class Template(TreeModel):