Всем доброго времени суток!
Такая проблема. django-admin-tools не находит мои стили.
settings.py
...
INSTALLED_APPS = (
'admin_tools',
'admin_tools.theming',
'admin_tools.menu',
'admin_tools.dashboard',
...
)
...
TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.core.context_processors.request",
"django.contrib.messages.context_processors.messages"
)
STATIC_URL = "/static/"
STATIC_ROOT = os.path.join(BASE_DIR, "static")
MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
TEMPLATE_DIRS = (
os.path.join(BASE_DIR, "templates/"),
)
ADMIN_TOOLS_MENU = "admin_files.menu.CustomMenu"
ADMIN_TOOLS_INDEX_DASHBOARD = "admin_files.dashboard.CustomIndexDashboard"
ADMIN_TOOLS_APP_INDEX_DASHBOARD = "admin_files.dashboard.CustomAppIndexDashboard"
ADMIN_TOOLS_THEMING_CSS = "css/theming.css"
Админка работает - все норм, только мой стиль (theming.css), находящийся в project_root/static/css/theming.css не подгружает, пишет ошибку 404!
Все делал по офф. доке - http://django-admin-tools.readthedocs.org/en/latest/configuration.html
WTF, господа?
P.S. django-admin-tools (v0.5.1), Django (v1.6.5)