I'm using Ubuntu and Django 1.3.7
. Following are the various relevant settings:
My directory structure:
mysite/
manage.py
settings.py
__init__.py
urls.py
myapp/
__init__.py
forms.py
models.py
views.py
templates/
index.html
home.html
static/
common.css
...
...
My settings.py
file:
import os.path
SETTINGS_ROOT = os.path.dirname(__file__)
INSTALLED_APPS = (
...
...
'django.contrib.staticfiles'
)
STATIC_ROOT = os.path.join(SETTINGS_ROOT, "static/")
STATIC_URL = '/static/'
In my templates html
file:
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.css">
Still, the pages don't show any images, css or js files. I've read the docs. But nothing helps. What else do I need to include/modify in order to get the files running?