Kaydet (Commit) f467c8cb authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed #6356 -- Added a mark_safe() call that was missed in a url() method. Thanks, tangerine.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst d18a114f
......@@ -105,7 +105,7 @@ class EasyInstance(object):
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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment