diff --git a/authentic2_idp_oauth2/dashboard.py b/authentic2_idp_oauth2/dashboard.py new file mode 100644 index 0000000..ab4d551 --- /dev/null +++ b/authentic2_idp_oauth2/dashboard.py @@ -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,) +