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:
Malcolm Tredinnick 2008-02-03 01:52:45 +00:00
parent d18a114f86
commit f467c8cbc1
1 changed files with 1 additions and 1 deletions

View File

@ -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):
"""