Skip to main content

WordPress look and feel for Django administration panel.

Project description

https://raw.github.com/barszczmm/django-wpadmin/master/docs/images/django-wpadmin.png

Features

  • Optional fixed (in CSS positioning terms) top menu with branding, user options (change password, logout, gravatar) and any other menu items

  • Optional fully configurable left menu with nice WordPress style

  • Left menu can be pinned (fixed CSS position) or unpinned and collapsed or expanded

  • Awesome Font Awesome icons supported in both menus

  • Multiple AdminSite’s support with possibility to have different menus, colors and title for each one

  • Supports Django 1.4.x and 1.5.x

  • WordPress look and feel for objects lists

  • WordPress look and feel for objects edit pages

TODO

  • Styles for history page

  • Styles for inlines

  • TinyMCE integration with WordPress theme

  • django-filebrowser integration

  • Bookmarks support

  • Documentation

Demo

Try sample_project here or download django-wpadmin and run it on your own machine. sample_project contains SQLite database file with prepopulated sample data.

Installation

  • Install django-wpadmin from PyPi:

    pip install django-wpadmin
  • Or from GitHub:

    pip install -e git+https://github.com/barszczmm/django-wpadmin.git#egg=django-wpadmin
  • Add to your INSTALLED_APPS before django.contrib.admin:

    INSTALLED_APPS = (
        # Django WP Admin must be before django.contrib.admin
        'wpadmin',
        'wpadmin.menu',
        'wpadmin.dashboard',
    )
  • Add django.core.context_processors.request to TEMPLATE_CONTEXT_PROCESSORS setting.

Basic configuration

Add to settings.py:

WPADMIN = {
    'admin': {
        'menu': {
            'top': 'wpadmin.menu.menus.TopMenu',
            'left': 'wpadmin.menu.menus.LeftMenu',
        }
    },
}

Advanced configuration

Please take a look at the code in sample_project.

This app takes a lot of ideas and a lot of code from django-admin-tools app, so it is also good idea to read django-admin-tools docs.

Credits

Python code is heavily based on django-admin-tools app. WordPress look and feel is of course inspired by WordPress.

Changelog

v0.2.0 (2013-04-02)

  • Styled object’s editing pages

v0.1.2 (2013-03-23)

  • Django 1.3 support dropped! (there’s too much differences between Django 1.3 and 1.4)

  • installation process slightly changed (there’s no need to copy or symlink base.html file for specific Django version)

  • added WordPress look and feel for objects lists (change_list.html)

  • CHANGELOG added

v0.1.1 (2013-03-19)

  • installation scripts

  • README and LICENSE files added

v0.1.0 (2013-03-19)

  • top and left menu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-wpadmin-0.2.0.tar.gz (280.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page