Working on my page design using twitter-bootstrap, I've created a base.html file that serves as the global base for all templates to extend.
However, I'm facing an issue where upon extending the base.html in all templates, the CSS doesn't display correctly and instead shows up as plain HTML. Although when checking the page source, the javascript and CSS files are being loaded properly but not displayed.
Within settings.py:
STATIC_URL = '/static/'
STATIC_ROOT = '/var/www/static/'
STATICFILES_DIRS = '/home/User/workspace/project/static'
The project structure is organized as follows:
-App1
-templates
- sample.html (extends base.html)
-App2
-App3
-App4
-static
-css
-bootstrap.css
-js
-bootstrap.js
-jquery.js
-templates
-base.html
I can't seem to figure out what might be causing this issue. Any assistance provided would be greatly appreciated!