Ticket #5041: quoteurl_logentry.patch
File quoteurl_logentry.patch, 589 bytes (added by , 17 years ago) |
---|
-
models.py
49 49 Returns the admin URL to edit the object represented by this log entry. 50 50 This is relative to the Django admin index page. 51 51 """ 52 return u"%s/%s/%s/" % (self.content_type.app_label, self.content_type.model, self.object_id) 52 from django.contrib.admin.views.main import quote 53 return u"%s/%s/%s/" % (self.content_type.app_label, self.content_type.model, quote(self.object_id))