Friday, January 30, 2015

Re: Putting picture thumbnails within admin page

Make sure you are serving the media fles usins django's static server

from django.conf import settings
+= patterns('',
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': False}), )

On Tuesday, January 27, 2015 at 1:31:54 AM UTC+1, bradford li wrote:

I am trying to put thumbnail pictures of my photos within my admin page. I am currently running into the issue where the thumbnail isn't displayed, when I click on thumbnail I am redirected to the homepage of my project with this as the URL: 

Stackoverflow question:

If anything else is needed please let me know! 

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment