Skip to navigation
How to get all static django project files into one directory
05.03.16
execute: python manage.py collectstatic this will check in your setting file where it should look for additional static files and put all of your and of the django project into one place after a static server like nginx could deliver those files from there example: /etc/nginx/sites-available/default root /var/customers/webs/pythonenv/djangoproject ; location ~* /static { try_files $uri $uri/ =404; autoindex on; }
http://blog.doismellburning.co.uk/django-and-static-files/
Reply
Anonymous
Information Epoch 1732599948
Think hierarchically.
Home
Notebook
Contact us