Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revolunet/bootstrap-django-admin
Django admin templates styled with Twitter Bootstrap
https://github.com/revolunet/bootstrap-django-admin
Last synced: 3 months ago
JSON representation
Django admin templates styled with Twitter Bootstrap
- Host: GitHub
- URL: https://github.com/revolunet/bootstrap-django-admin
- Owner: revolunet
- Fork: true (aobo711/bootstrap-django-admin)
- Created: 2012-07-05T09:59:15.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-09T01:42:11.000Z (over 12 years ago)
- Last Synced: 2024-07-15T14:38:48.885Z (5 months ago)
- Homepage: http://orzpoint.com
- Size: 90.8 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Beautiful Django admin template styled with Twitter Bootstrap
Works on Django 1.3 and above.Screenshots:
How to use:
- Setup django admin first, link: https://docs.djangoproject.com/en/dev/ref/contrib/admin/ .
- Clone the project to you workspace, copy the template folder to you django project root, so the template will locates at the same directory as settings.py.
- Modify settings:
- Add
os.path.join(os.path.dirname(__file__), 'templates').replace('\\','/')
to TEMPLATE_DIRS in settings.py.
Add additional url rule to urls.py, this rule is used for hosting static resouce in admin templates:
(r'^admins/(?P.*)$', 'django.views.static.serve', {'document_root': '/your_project_directory/project_name/project_folder/templates/admin/static', 'show_indexes': True}),
Customize Bootstrap
BootStrap css locates at /template/admin/static/css, rewrite styles and rebuild, you can also modify rewrite.css.