Milan,

Thanks a lot, that fixed my problem :)

Molly


On Jul 7, 12:49 am, "Milan Andric" <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 6, 2008 at 3:12 PM, Molly <[EMAIL PROTECTED]> wrote:
>
> > Millan,
>
> > I'm doing this in dev environment with the built in webserver. No it's
> > not a mod_python error.
>
> > I'm using the static setup and I can get to it fine when I upload my
> > photo.
> > The problem is when I click the photo it seems to be pointing to
> > somewhere else.
>
> > In my models:
> > ======================================================================
> > photo = models.ImageField("Photograph", upload_to='images/uploaded',
> > blank=True,null=True)
> > ======================================================================
>
> > if i manually go to /images/uploaded my photo is there, but the link
> > in the admin site seems to be wrong.
>
> > this is the link, it's adding all of the extra information:
> > ======================================================================
> >http://127.0.0.1:8000/admin/base/incident/1/media/images/uploaded/DCP...
> > ======================================================================
>
> What do you have for MEDIA_URL in your settings.py file?  Should be
> something like MEDIA_URL='/media/', my guess is you are missing a
> leading slash.  If you can paste your settings.py and model that would
> help,http://dpaste.com.
>
> --
> Milan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to