You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use some custom init in dropzone. I can only come up with only one bad way.
Since Jinja doesn't support statements (if, for) in {{ dropzone.config(custom_init = '') }} because it's a variable, I have to put up some js code using python in Flask view functions.
Any better way?
The text was updated successfully, but these errors were encountered:
I want to use some custom init in dropzone. I can only come up with only one bad way.
Since Jinja doesn't support statements (if, for) in
{{ dropzone.config(custom_init = '') }}
because it's a variable, I have to put up some js code using python in Flask view functions.Any better way?
The text was updated successfully, but these errors were encountered: