Featured post
How do I tweak CSS on the Django 1.2.3 admin media? -
i make css-only adjustments admin interface (on rhel box don't have sysadmin privileges to). end, local version of /media/ tweak.
http://docs.djangoproject.com/en/dev/howto/static-files/ (but not http://docs.djangoproject.com/en/1.2/howto/static-files/) suggests running manage.py collectstatic or manage.py findstatic, , django 1.2.3 manage.py not recognize commands. adding 'django.contrib.staticfiles' installed_apps broke things (not found).
i customize css, , way envision doing getting private copy of media django's admin , changing there. best options django 1.2.3 installation?
just go django installation directory, browser django->contrib-> admin-> directory , copy paste media folder django projects media directory.
let have media in project/media
statically rendered web /media/. if copy admin media in project/media
admin media web url /media/admin/
hence in settings.py file: admin_media_prefix = '/media/admin/'
you may modify css in media directory wish change of admin site.
- Get link
- X
- Other Apps
Comments
Post a Comment