Re: FreeBSD+wsgi+django static and media how-to-do

2013-03-13 Thread Alexey Kinyov
Hi dj-konst! Static files in production are generally served by web server - Nginx or Apache or something else. And it's safer to place static files dir outside of your project dir and use 'collectstatic' command to grab static files there. Here are some examples of Nginx config with static

FreeBSD+wsgi+django static and media how-to-do

2013-03-13 Thread dj-konst
Hi, I'm new in django I use FreeBSD9+wsgi+django (unique host) but meet problems with static files... There are sections in Django Documentation 1.5 ( 4.13.4 Serving static files in production )... but there is no enough details for me. Where to read about serving static files in more detals