【发布时间】:2010-12-20 16:28:00
【问题描述】:
我想对管理界面进行纯 CSS 调整(在我没有系统管理员权限的 RHEL 机器上)。为此,我想要一个本地版本的 /media/ 进行调整。
http://docs.djangoproject.com/en/dev/howto/static-files/(但不是http://docs.djangoproject.com/en/1.2/howto/static-files/)建议运行 manage.py collectstatic 或 manage.py findstatic,而我的 Django 1.2.3 manage.py 无法识别这些命令。将 'django.contrib.staticfiles' 添加到我的 INSTALLED_APPS 也会破坏(未找到)。
我想自定义 CSS,我设想的方式是为 Django 的管理员获取媒体的私有副本并从那里进行更改。对于 Django 1.2.3 安装,我的最佳选择是什么?
【问题讨论】:
-
为什么是 'django.contrib.staticfiles' !!
标签: django django-admin customization redhat