Django admin templates styled with Twitter Bootstrap
Switch branches/tags
Nothing to show
Pull request Compare This branch is 40 commits behind aobo711:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
README.md

README.md

Beautiful Django admin template styled with Twitter Bootstrap

Works on Django 1.3 and above.

Screenshots:




How to use:

  1. Setup django admin first, link: https://docs.djangoproject.com/en/dev/ref/contrib/admin/ .
  2. 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.
  3. Modify settings:
    1. Add os.path.join(os.path.dirname(__file__), 'templates').replace('\\','/') to TEMPLATE_DIRS in settings.py.
    2. 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.