Re: Displaying image stored in models.ImageField

2008-12-08 Thread Craig Spry
Hello All, I fixed my problem I needed to add a line like this to urls.py: (r'^uploads/(?P.*)$', 'django.views.static.serve', { 'document_root': 'c:/src/webcomic/uploads' } ) Thanks, Craig Spry On Mon, Dec 8, 2008 at 10:49 PM, Craig Spry <[EMAIL PROT

Re: Displaying image stored in models.ImageField

2008-12-08 Thread Craig Spry
Hello All, Just to add to what I've said below, when I point the browser at the image url like this: http://localhost:8000/uploads/comics/john7_web.png I get a 404. Craig On Mon, Dec 8, 2008 at 10:34 PM, Craig Spry <[EMAIL PROTECTED]> wrote: > Hello All, > > I have

Displaying image stored in models.ImageField

2008-12-08 Thread Craig Spry
ge is the comic.name. Is there anything else I need to setup for this to work? Thanks, Craig Spry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj