response = HttpResponseRedirect(self.target)
response.status_code = self.status_code
return response
+
+ def __unicode__(self):
+ return self.slug
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):