add missing file dashboard.py
This commit is contained in:
parent
55cf82537c
commit
c7d5ed2367
|
@ -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,)
|
||||
|
Reference in New Issue