Jump to content

Css For Django Admin


ovt00

Recommended Posts

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.

Link to comment
Share on other sites

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 error

2. add line RewriteRule ^(static/.*)$ - [L] to .htaccess because without this line CSS doesnt work

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...