site_media/
|
---> static/
---> static/
|
---> uploads/
static dir is set as STATIC_URL = '/site_media/static/'
uploads dir is set as MEDIA_URL = '/site_media/uploads/'
In that case on dev server (localhost:8000) media_url is not accessible via browser as static file, and whe I try to access it I get 404 error. How can i set it up to be seen as static?
In uploads dir are all files uploaded by users. static dir includes all my js/css/images
-- 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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment