WebFaction
Community site: login faq

I have my django site up and running good and well with all of djangos admin media being served by a static_media app. I set up a media app to help handle images and such I would upload to the admin site for use in my blog posts. I am using django-grappelli and django-filebrowser. my MEDIA_ROOT = /home/myusername/webapps/media_app/media and I have my media url set up at http://mydomainname/media/

So when I go to upload a file in the filebrowser everything works fine. But when I click the link to go to the file/image I uploaded nginx throws a 404 at me.

Does anybody know what could be going wrong?

asked 08 Aug '13, 16:41

Jake_S
213
accept rate: 0%


Submit a support ticket and we can check in real-time.

The issue is almost always a path problem 'somewhere' but without looking at the actual code its impossible to say where.

permanent link

answered 08 Aug '13, 19:57

johns
5.3k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×908
×186
×30
×26
×1

question asked: 08 Aug '13, 16:41

question was seen: 1,968 times

last updated: 08 Aug '13, 19:57

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM