1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-17 18:31:15 +00:00

Add Tables category

This commit is contained in:
Mo 2022-09-11 20:05:20 +02:00
parent 8717f42bac
commit f212ddf181

View file

@ -237,7 +237,7 @@ class SecureAdminModelView(CustomModelView):
def __init__(self, model, **kwargs):
url = get_url(kwargs)
super().__init__(model, db.session, endpoint="admin_" + url, **kwargs)
super().__init__(model, db.session, endpoint="admin_" + url, category="Tables", **kwargs)
def is_accessible(self):
return adminViewIsAccessible()