It's anybody's guess unless you post your code. Sincerely yours, Joel G Mathew
On Sun, 18 Nov 2018 at 20:47, Jeff Williams <jeff99willi...@gmail.com> wrote: > Hi All, > I'm new to django, so sorry if this is a newbie issue. > > I've managed to upload an ImageField....but when I try to display it in my > template using object.pic.url...the URL I'm getting back is missing my > project name from the URL and the pic is not loading. > > Specifically I'm getting > http://127.0.0.1:8000/media/media/56288852934__75FACD12-1711-4655-96D5-716198FE10B7.JPG > back.....and > I need > > http://127.0.0.1:8000/*oldgrub* > /media/media/56288852934__75FACD12-1711-4655-96D5-716198FE10B7.JPG > > back to have it work. > > What am I missing? I've poured over my configs. > Jeff > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAMgbqCe3UzvrWFg4fiRSPXp6HtLJoPJmGs8oPSZjAd%3Dxx4ygNQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAMgbqCe3UzvrWFg4fiRSPXp6HtLJoPJmGs8oPSZjAd%3Dxx4ygNQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_-Siy3yQgn8O9Kj0NC6URxwhebR%3DqO7BvUwzyL9mi9NdQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.