Adding images uploaded to site


#1

I added an image field to models.py and migrated it to server. There is an image field in admin now but when I upload a pic I’m just getting file name in admin and on the homepage. When I look in the images folder, no file. I manually move pic to image file and its showing up on screen.

Its pretty obvious there is a step I’m missing in the code but google searching is giving me complicated answers that I don’t think apply to my app.

What am I not doing? Maybe you can point me to a simple tutorial? Love the book and unfortunately nothing seems as broken down and easy to follow in the outside world!


#2

Hey, good timing. I just wrote a tutorial on the subject but the content isn’t finalized yet - can send it to you in draft form. Email me at [email protected] and I’ll share it with you!