diff --git a/passbook/oauth_provider/models.py b/passbook/oauth_provider/models.py index cc63d43bb..8334050d2 100644 --- a/passbook/oauth_provider/models.py +++ b/passbook/oauth_provider/models.py @@ -12,7 +12,7 @@ class OAuth2Provider(Provider, AbstractApplication): form = 'passbook.oauth_provider.forms.OAuth2ProviderForm' def __str__(self): - return self.name + return "OAuth2 Provider %s" % self.name class Meta: diff --git a/passbook/saml_idp/models.py b/passbook/saml_idp/models.py index c10932306..42589e574 100644 --- a/passbook/saml_idp/models.py +++ b/passbook/saml_idp/models.py @@ -36,7 +36,7 @@ class SAMLProvider(Provider): return self._processor def __str__(self): - return "SAMLProvider %s (processor=%s)" % (self.name, self.processor_path) + return "SAML Provider %s" % self.name def link_download_metadata(self): """Get link to download XML metadata for admin interface"""