Hey Akash, Appreciate you still thinking about this. I've tried moving my Media folder to copy a working project (still no luck).
Here is the file: http://127.0.0.1:8000/media/documents/dsBuffer_rQWWvO9.jpg This is the media folder: D:\DjangoStuff\familyrecipies\media\documents My current guess is that I have something wrong in my HTML that is somehow causing an error....I think I've noticed that Dango gives a 404 error if it sees an HTML error (?). I copied a small working file-upload example and it worked. I can't see any difference between the example and my code. Jeff On Mon, Nov 19, 2018 at 8:16 PM Akash Purandare <akashp1...@gmail.com> wrote: > Hey Jeff > > Can you send me the URL of the file and the Location of the uploaded media > file? > > Regards > Akash Purandare > > On Sunday, November 18, 2018 at 8:48:04 PM UTC+5:30, Jeff Williams 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/5c9ebd72-bb98-49b8-81eb-dd9da3e7796e%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5c9ebd72-bb98-49b8-81eb-dd9da3e7796e%40googlegroups.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/CAMgbqCf4EjsNO68Dq%3DZnoxMiec%2BZ0CS9BJRK3q4Xs8hgkrZoFg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.