authentic2-auth-kerberos/src/authentic2_auth_kerberos/dashboard.py

12 lines
325 B
Python

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(_('Authentic2 Auth Kerberos'),
models=('authentic2_auth_kerberos.models.*',))
return (model_list,)