Giter Club home page Giter Club logo

django-wpadmin's Introduction

Django WP Admin

WordPress look and feel for Django administration panel.

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.

django-wpadmin's People

Contributors

barszczmm avatar ionelmc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.