Re: image display in admin
On Sun, Oct 6, 2013 at 8:35 PM, Gabriel - Iulian Dumbrava
<gabriel.dumbrava@gmail.com> wrote:
> Add a property to your model that returns the img tag you want, set it to allow html content, then add the property to list_display in your admin.py.
Done but it is not displaying anything.:(
I used thumbnails but its still behaving same. What to do?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAB0GQhBbsCgOBQK-OhDRNQmNk1FVF2akwTCusLUDuXS3MQJxQA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home