R
R
Roman no_name2014-04-14 14:02:22
Django
Roman no_name, 2014-04-14 14:02:22

MultipleImageField in Django - what's the problem?

Faced with the problem of uploading photos to the site. Django has a form for uploading a photo called ImageField, this form immediately checks if the file is an image or not (uses the Pils library).
But I just can’t find if there is such a form for uploading several photos and checking them.
Maybe someone knows or faced, tell me. The use of JQ is not recommended.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey K, 2014-04-15
@mututunus

Just make a few ImageFields. If the number of images can be arbitrary, use formset.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question