Skip to content

Commit

Permalink
small debug
Browse files Browse the repository at this point in the history
  • Loading branch information
clemenstyp committed Mar 22, 2024
1 parent ae6b53e commit 639c5da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Snackbar/Adminpage/MyUserModelView.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ class MyUserModelView(ModelView):
# )

base_path = app.config['IMAGE_FOLDER']
form_overrides = dict(imageName=FileUploadField)
form_args = {
'imageName': {
'base_path': base_path
}
}
# form_overrides = dict(imageName=FileUploadField)
# form_args = {
# 'imageName': {
# 'base_path': base_path
# }
# }

column_labels = dict(firstName='First Name',
lastName='Last Name',
Expand Down

0 comments on commit 639c5da

Please sign in to comment.