ovt00 Posted April 1, 2016 Share 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 Quote Link to comment Share on other sites More sharing options...
wolstech Posted April 1, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...
KirTolm Posted April 1, 2016 Share Posted April 1, 2016 I have the same problem Quote Link to comment Share on other sites More sharing options...
ovt00 Posted April 1, 2016 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.