ovt00 Posted April 1, 2016 Posted April 1, 2016 Hello.I installed django app and it works, but administration of site doesn't have css. I don't understand how it use with mod_wsgi? 1
wolstech Posted April 1, 2016 Posted April 1, 2016 The developer tools in your browser will likely help you find out what CSS file didn't load and why (odds are it's a 404 error caused by an incorrect path in a file somewhere). In Chrome, you can see resources and what failed to load by right clicking the page and "Inspect", then look in the console tab of the developer tools. Firefox should be similar. Not sure about IE.
ovt00 Posted April 1, 2016 Author Posted April 1, 2016 Thanks, I succeeded, please change your instruction for using python/django (http://www.heliohost.org/home/features/languages/python):1. delete line environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO'] from dispatch.wsgi because with this line we get 404 error2. add line RewriteRule ^(static/.*)$ - [L] to .htaccess because without this line CSS doesnt work
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now