def get_url(self, obj):
if not hasattr(obj, '<STR_LIT>') or not obj.get_absolute_url():<EOL><INDENT>raise ImproperlyConfigured("<STR_LIT>" % (obj.__class__.__name__, self.__class__.__name__))<EOL><DEDENT>return obj.get_absolute_url()<EOL>
The URL at which the detail page should appear.