Ticket #11607: fkrawidwidget.diff
File fkrawidwidget.diff, 644 bytes (added by , 15 years ago) |
---|
-
widgets.py
123 123 (related_url, url, name)) 124 124 output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="%s" /></a>' % (settings.ADMIN_MEDIA_PREFIX, _('Lookup'))) 125 125 if value: 126 output.append(self.label_for_value(value)) 126 try: 127 output.append(self.label_for_value(value)) 128 except: 129 pass 127 130 return mark_safe(u''.join(output)) 128 131 129 132 def base_url_parameters(self):