Fixed view for non admin users

This commit is contained in:
2024-09-05 11:12:55 +02:00
parent 2a38fb14dd
commit a1c66152ae
9 changed files with 43 additions and 29 deletions

View File

@ -19,7 +19,7 @@ log.debug(f"Running in web mode: {lib.webMode()}")
def get_context():
# flask cli context setup
"""Objects exposed here will be automatically available from the shell."""
return dict(app=app, models=models)
return dict(app=app)
if __name__ == '__main__':