Hi Riccardo,
Thanks for the feedback. I did run the collectstatic command and the static
files are located at /home/amcgregor/xerase_env/xerase/static.
Why would uWSGI ignore the {% load staticfiles %} command. The command shows up
as text in the webpage when rendered? Just curious to understand why?
Thanks again,
Alex
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Riccardo Magliocchetti
Sent: Thursday, August 11, 2016 12:59 PM
To: [email protected]
Subject: Re: [uWSGI] Need Help With uWSGI
Il 11/08/2016 19:40, Alex McGregor ha scritto:
>
> When I run uWSGI in emperor mode and I go the website address
> www.xerase.corp.peer1.net <http://www.xerase.corp.peer1.net> I get
> the basic HTML code rendered but calls such as {% load staticfiles %}
> are ignored and therefore the static files are not being rendered.
If django loads you can be pretty sure that the uwsgi python plugin is working
:) To me it looks like your django configuration for static files does not
match nginx configuration or you haven't collected them.
--
Riccardo Magliocchetti
@rmistaken
http://cp.mcafee.com/d/avndy0sd3gArho7nd7b3XXXNKVJd6WdSn4T1NJd6WdSn6bFCQQrETpsjsd79J554QsEECzBZN4TF_x-Mg-faS8NYzm8aJkzZGHvYkundSGh-RlL-afbCTQjhOxrhP_nV55dxWUXHTbFETpVdeXP8W_khjmKCHtMtOEuvkzaT0QSyrodTV5MQsL8EIFTudTdw0Rvxl2gFYqZapJINgz8KgGT2TQ1hYGjFPs24FZapJxNxMS2_id41Frr0ko2gqqnjh03fZ0Qg1vPRzh00IFAPh0S0EM4wQSOCrKDnGdN1Pwex
_______________________________________________
uWSGI mailing list
[email protected]
http://cp.mcafee.com/d/1jWVIidEI3HCzBxZZZUTsSCzt6XbyrwUSCzt6Xbz5QPqqdQrIK9K6zASyyyqekkjhO-UyrQ_M_o8v7Br4o-hH45mGh-RlL-afbCXl8_qGT_57BPrW9EVgJEV_HYyyCMZstRXBQQrIYCDtVAtvG8FHnjlKUeVkffGhBrwqrjdI6XYyUqenAkmkXL6XCM0pYGjFPs24FZau08n8ixwCHIcfBisEeRNINgz8SSoEhAn8lrxrW0E-l9QVK12k-BcSMUMUr1vF6y0QJJwac18ddbFEw1D-wq80LVWNEw0mkOpEwr0ko2gqrpjdRM1vrrzo
This email and any attachments are confidential and intended for the recipient
only. If you have received this message in error, please notify the sender
immediately, destroy this email and any attachments, and do not use, copy,
store and/or disclose to any person this email and any attachments.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi