Skip to content

Commit

Permalink
Fixed #6356 -- Added a mark_safe() call that was missed in a url() me…
Browse files Browse the repository at this point in the history
…thod. Thanks, tangerine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Feb 3, 2008
1 parent d18a114 commit f467c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/databrowse/datastructures.py
Expand Up @@ -105,7 +105,7 @@ def pk(self):
return self.instance._get_pk_val() return self.instance._get_pk_val()


def url(self): def url(self):
return '%s%s/%s/objects/%s/' % (self.model.site.root_url, self.model.model._meta.app_label, self.model.model._meta.module_name, iri_to_uri(self.pk())) return mark_safe('%s%s/%s/objects/%s/' % (self.model.site.root_url, self.model.model._meta.app_label, self.model.model._meta.module_name, iri_to_uri(self.pk())))


def fields(self): def fields(self):
""" """
Expand Down

0 comments on commit f467c8c

Please sign in to comment.