Tuesday, May 15, 2012

django 1.4 : gunicorn can't find static files. settings option

Hi,
I just started to using django 1.4 with gunicorn 0.14.3
With ./manage.py runserver , i can start django properly and django can
find my files in static directory.
Then i use gunicorn and then gunicorn can't find my files in static
directory.

I have tried these combination
gunicorn myproject.wsgi:application --settings myproject.settings
gunicorn myproject.wsgi:application --settings /absolute/path/to/settings.py
./manage.py run_gunicorn --settings=myproject.settings

All of the commands can start django, but can't find my files in static
directory

I also found this issue https://github.com/benoitc/gunicorn/issues/322
But, i can't find the solution from that page.

Any kind of help will be appreciated

Thanks

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate