def get_extra_context(self):
    return {'object': self.main_object, 'title': (_('Document type for which to enable web link: %s') % self.main_object)}
def get_extra_context(self):
    return {'object': self.main_object, 'title': (_('Document type for which to enable web link: %s') % self.main_object)}