Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #6356 -- Added a mark_safe() call that was missed in a url() me…

…thod. Thanks, tangerine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f467c8cbc133bd4300961226ccced499fb8a485e 1 parent d18a114
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/databrowse/datastructures.py
View
2  django/contrib/databrowse/datastructures.py
@@ -105,7 +105,7 @@ def pk(self):
return self.instance._get_pk_val()
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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.