add missing file dashboard.py

This commit is contained in:
Benjamin Dauvergne 2014-03-26 15:20:29 +01:00
parent 55cf82537c
commit c7d5ed2367
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from django.utils.translation import ugettext_lazy as _
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',))
return (model_list,)