This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
auf/authentic2/src/authentic2_plugin_template/dashboard.py

12 lines
329 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 Plugin Template'),
models=('authentic2_plugin_template.models.*',))
return (model_list,)