Grey Li

Results 173 comments of Grey Li

Thanks, this is a very helpful feature, I will try to implement it this week.

It seems that there isn't a perfect way to handle this problem. As far as I know, the following thing is easy: - Insert `dorpzone` div inside a form -...

An alternative method is to send uploads and other form data to different view functions, for example: - Upload files --> /upload - Other fields --> /new However, I can't...

I finally make the alternative method worked, you can try the demo application in [here](https://github.com/greyli/flask-dropzone/tree/master/examples/in-form).

@gyrcom Thanks for the feedback! It should be work with the code on master branch, you can install it on local with: ``` $ git clone https://github.com/greyli/flask-dropzone.git $ cd flask-dropzone...

@gabrielggg Yes, you are right, I forgot to add a comment to address this.

> Both python 2 and 3 have a dict.items. There's really no memory or performance benefit to not just using items in both python 2 and 3. Technically, use `dict.iteritems()`...

`items()` issue fixed in https://github.com/greyli/flask-dropzone/commit/f30a61d1913a92abeec0485f4012072d5ee35569.

`#2` is not a good idea since user will need a normal POST request to handle form validation then render the page with error messages. You can just type #...

@harry-wright The current implementation was just inspired by the link you posted.