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
This commit is contained in:
parent
d18a114f86
commit
f467c8cbc1
|
@ -105,7 +105,7 @@ class EasyInstance(object):
|
||||||
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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue