<commit_before>Django Admin Bootstrap theme
============================

Twitter Bootstrap support for Django Admin. Requires django-admin-tools package.


TODO:

* Fix some bugs
* Add multi-dropdown support

Screenshots
-----------

Some model admin

.. image:: https://bitbucket.org/salvator/django-admintools-bootstrap/raw/2a35c70ecb24/screenshot.png


Usage
-----

Install package::

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

Insert `admintools_bootstrap` to your INSTALLED_APPS before `admin_tools` and `django.contrib.admin` apps.

Enjoy.


Site name in navigation bar and title
------------------------------------

admintools-bootstrap can use current site to display site name in admin interface.

To enable this feature, add `django.contrib.sites` to your `INSTALLED_APPS` list (if you have not yet), and `admintools_bootstrap.context_processors.site` to `TEMPLATE_CONTEXT_PROCESSORS` list.
<commit_msg>fixed README<commit_after>Django Admin Bootstrap theme
============================

Twitter Bootstrap support for Django Admin. Requires django-admin-tools package.


TODO:

* Fix some bugs
* Add multi-dropdown support

Screenshots
-----------

Some model admin

.. image:: https://bitbucket.org/salvator/django-admintools-bootstrap/raw/2a35c70ecb24/screenshot.png


Usage
-----

Install package::

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

Insert `admintools_bootstrap` to your INSTALLED_APPS before `admin_tools` and `django.contrib.admin` apps.

Enjoy.


Site name in navigation bar and title
-------------------------------------

admintools-bootstrap can use current site to display site name in admin interface.

To enable this feature, add `django.contrib.sites` to your `INSTALLED_APPS` list (if you have not yet),
and `admintools_bootstrap.context_processors.site` to `TEMPLATE_CONTEXT_PROCESSORS` list.

Set site name and domain in `django.contrib.sites` admin.

{'fraction_non_alphanumeric': 0.15285359801488835, 'fraction_numerical': 0.006947890818858561, 'mean_word_length': 3.9051094890510947, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2421489', 'n_tokens_mistral': 628, 'n_tokens_neox': 582, 'n_words': 175}