Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richleland/132071 to your computer and use it in GitHub Desktop.
Save richleland/132071 to your computer and use it in GitHub Desktop.
def content_title(self):
return '<a href="/admin/%s/%s/%s/">%s</a>' % (self.content_object._meta.app_label,
self.content_object._meta.module_name,
self.content_object.id,
self.__unicode__())
content_title.allow_tags = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment