admin: add provider admin

This commit is contained in:
Jens Langhammer
2018-11-26 22:40:10 +01:00
parent 755997a9c7
commit c0c51981ba
8 changed files with 162 additions and 1 deletions

View File

@ -9,6 +9,8 @@ from passbook.core.models import Provider
class OAuth2Provider(Provider, AbstractApplication):
"""Associate an OAuth2 Application with a Product"""
form = 'passbook.oauth_provider.forms.OAuth2ProviderForm'
def __str__(self):
return self.name