Answer the question
In order to leave comments, you need to log in
How to add image to select option in django select2?
I'm using Select2MultipleWidget to select multiple photos from the list.
The photo model includes the title and the actual file and image.
def __unicode__(self) - returns the title.
The widget works for me, but I need pictures in the selection option as well.
Like in this screenshot.
blog.applegrew.com/wp-content/uploads/2012/08/Scre...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question