dashboard: show link to webservice model

This commit is contained in:
Benjamin Dauvergne 2014-07-15 11:24:12 +02:00
parent 415ab297f5
commit 35b8c517a4
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ from admin_tools.dashboard import modules
def get_admin_modules():
'''Show Client model in authentic2 admin'''
model_list = modules.ModelList(_('OAuth2'),
models=('authentic2_idp_oauth2.models.A2Client',))
models=('authentic2_idp_oauth2.models.A2Client',
'authentic2_idp_oauth2.models.WebService',
))
return (model_list,)