Metadata-Version: 2.0
Name: bootstrap-admin
Version: 0.3.7
Summary: Responsive Theme for Django Admin (Django 1.7)
Home-page: https://github.com/douglasmiranda/django-admin-bootstrap
Author: Douglas Miranda
Author-email: douglasmirandasilva@gmail.com
License: BSD
Keywords: django,admin,skin,theme,bootstrap,responsive
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python

Responsive Theme for Django Admin (Django 1.7+)
===============================================

.. image:: https://img.shields.io/pypi/dm/bootstrap_admin.svg
    :target: https://pypi.python.org/pypi/bootstrap_admin/
    :alt: Downloads

Ingredients
-----------

New design, templates from Django 1.7+, Bootstrap 3 and Coffee.

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

.. image:: https://raw.githubusercontent.com/django-admin-bootstrap/django-admin-bootstrap/master/screenshots/screenshot.png
    :target: https://github.com/django-admin-bootstrap/django-admin-bootstrap/tree/master/screenshots
    :alt: See Screenshots

`More screenshots <https://github.com/django-admin-bootstrap/django-admin-bootstrap/tree/master/screenshots>`_

INSTALL
-------

from pypi (recommended) ::

    $ pip install bootstrap-admin

from github master branch ::

    $ pip install git+https://github.com/django-admin-bootstrap/django-admin-bootstrap

or clone the master branch in your machine ::

    $ git clone https://github.com/django-admin-bootstrap/django-admin-bootstrap

And don't forget to add *bootstrap\_admin* in **INSTALLED\_APPS** before
the *django.contrib.admin*.

Example:

.. code-block:: python

    INSTALLED_APPS = (  
        # ...  
        'bootstrap_admin', # always before django.contrib.admin  
        'django.contrib.admin',  
        # ...  
    )  

For Sidebar Menu in Django 1.7 only (List of apps and models) (RECOMMENDED):

.. code-block:: python

    from django.conf import global_settings
    TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
        'django.core.context_processors.request',
    )
    BOOTSTRAP_ADMIN_SIDEBAR_MENU = True

For Sidebar Menu in Django 1.8 be sure to have the correct `TEMPLATES settings <https://docs.djangoproject.com/en/1.8/ref/templates/upgrading/>`_ with the correct request template processor loaded `'django.template.context_processors.request'` :

.. code-block:: python

    from django.conf import global_settings
    TEMPLATES = [
        {
            'BACKEND': 'django.template.backends.django.DjangoTemplates',
            'DIRS': [
                # insert your TEMPLATE_DIRS here
            ],
            'APP_DIRS': True,
            'OPTIONS': {
                'context_processors': [
                    # Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
                    # list if you haven't customized them:
                    'django.contrib.auth.context_processors.auth',
                    'django.template.context_processors.debug',
                    'django.template.context_processors.i18n',
                    'django.template.context_processors.media',
                    'django.template.context_processors.static',
                    'django.template.context_processors.tz',
                    'django.contrib.messages.context_processors.messages',
                    'django.template.context_processors.request'
                ]
            },
        },
    ]

    BOOTSTRAP_ADMIN_SIDEBAR_MENU = True


Extensions
----------

`FeinCMS <https://github.com/django-admin-bootstrap/django-admin-bootstrap-feincms>`_

Contributing
------------

1. Fork it!
2. Create your feature branch: ``git checkout -b my-new-feature``
3. Commit your changes: ``git commit -am 'Add some feature'``
4. Push to the branch: ``git push origin my-new-feature``
5. Submit a pull request =]

See the `full list <https://github.com/django-admin-bootstrap/django-admin-bootstrap/blob/master/AUTHORS.rst>`_ of contributors.

`Open an
issue <https://github.com/django-admin-bootstrap/django-admin-bootstrap/issues/new>`_
if you find a bug or want something more.

TODO
----

- Docs
- Improve Sidebar menu

If you want to install the old version, just install with pip.
(See the `old README <https://github.com/django-admin-bootstrap/django-admin-bootstrap/blob/master/README-old.rst>`_)


