Django admin bootstrap theme

    I will be brief:



    Details of what still does not work, and how to install it - under the cut.

    Thanks for the Christmas weekend, it was time to screw Bootstrap from Twitter to the Django admin panel. Not everything works yet, it was also not tested everywhere, I spread it as it is :)

    Repository: https://bitbucket.org/salvator/django-admintools-bootstrap/

    We install using pip (preferably in virtualenv):

    $ pip install -e hg+https://bitbucket.org/salvator/django-admintools-bootstrap#egg=admintools_bootstrap

    django-admin-tools , if not installed, install from dependencies. They need to be configured ( manual ).

    Because in the current version of admintools-bootstrap the submenus do not work, it is advisable to create your own admin_tools menu configuration with a maximum of two nesting levels (manual ).

    After the admin_tools admin panel is working, bootstrap can be connected.

    Editing the settings, add admintools_bootstrap to the top of the INSTALLED_APPS list .

    If you have static files configured, Django will pick up the statics from the package, and everything should work right away. If not, write bug reports :)

    What works:

    • changelist (search appears in the upper panel)
    • forms
    • changelist filters
    • pagination


    The admin tools submenus do not work yet, but I think it will fix it over time.

    A couple of screenshots of what happened:

    List (the site name is derived from Site.objects.get_current) + some more interface tweaks, while this is the latest version


    Next - older screenshots:

    Login Dashboard


    list I think who needs it, will finish the application for themselves. Do not worry, no one is going to throw. Bagreport and patches are welcome. UPD: adapted login page, fixed a couple of bugs, chose for selects








    UPD2: if you have the django.contrib.sites application connected, the site name displayed in the navigation and in the title is now taken from Site.objects.get_current (). You no longer need to edit the chalons to change the name of the site in the admin panel.

    UPD3: Porting Bootstrap 2.0 Underway

    Also popular now: