make naming of Providers more consistent
This commit is contained in:
parent
c2ebff55ef
commit
acf65eafdd
|
@ -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:
|
||||
|
||||
|
|
|
@ -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"""
|
||||
|
|
Reference in a new issue