Wednesday, February 19, 2014

django-suit - A beautiful admin interface

If you are tired of the poor interface of the Django admin app, you can try django-suit.

Django Suit Project's official website: http://djangosuit.com/

1. Install django-suit:

(virtualenv)$ pip install django-suit


2. Add 'suit' app to INSTALLED_APPS of your Django project, before the 'django.contrib.admin':

INSTALLED_APPS = (
        'django.contrib.staticfiles',
...
        'suit',
        'django.contrib.admin',
...



Notes: you also need to include the django.contrib.statifiles app


3. Make sure you include this following template context processor:

TEMPLATE_CONTEXT_PROCESSORS = (
...
        "django.core.context_processors.request",
)

4. Collect static data for your Django project (in production server with DEBUG=False):

(virtualenv)$ ./manage.py collectstatic


5. Refresh the admin page in your browser and enjoy the beauty:





References: http://django-suit.readthedocs.org/en/develop/