WordPress look and feel for Django administration panel

Overview

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

  • WordPress look and feel
  • New styles for selector, calendar and timepicker widgets
  • More responsive (admin panel should look fine and be usable on displays with minimum 360px width)
  • Editable top menu
  • Optional fully configurable left menu
  • 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 titles for each one
  • 9 additional color themes included
  • Collapsible fieldsets can be opened by default
  • Python3 compatible

Django compatibility

On GitHub there is specific branch of Django WP Admin for each major Django version and master branch is always for current stable Django. Releases on PyPI have numbering matching proper Django versions, so for instance for Django 1.7.x you should install Django WP Admin 1.7.y (pip install "django-wpadmin>=1.7,<1.8"). Branches of Django WP Admin for Django older than current stable usually will not have new features added, only bugs will be fixed. Only version for current stable Django will have new features, but any pull requests for older branches are welcome.

TODO

  • Add support (in 3.0.x branch) for Django 3.0
  • Host test project on PythonAnywhere or Heroku
  • Add support (in 2.2.x branch) for Django 2.2
  • Add support (in 1.11.x branch) for Django 1.11
  • Add support (in 1.9.x branch) for Django 1.9
  • Make sure everything works fine with GeoDjango
  • Do not rely on Django admin styles, move everything to Django WP Admin styles.
  • Better documentation
  • django-filebrowser or django-filer support
  • django-mptt support
  • Optional templates for django-rosetta

Demo

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

Installation

  • Install django-wpadmin from PyPI:

    pip install django-wpadmin
    
  • Or from GitHub:

    pip install git+https://github.com/barszczmm/django-wpadmin.git#egg=django-wpadmin
    

Basic configuration

Documentation

Basic configuration above will only change look of Django's admin page, but there's much more you can do with Django WP Admin. Check out documentation on Read the Docs for details (there is also changelog there).

Translations

Many translations are already available thanks to good people that helped. If you want to help to translate this software, please join me on Transifex: transifex.com/projects/p/django-wp-admin/

Troubleshooting

Please create an issue on GitHub if you have any problems or requests.

Credits

Python code is based on django-admin-tools app.

WordPress look and feel is of course inspired by WordPress.

Included icons comes from Font Awesome.

Comments
  • There is no object-tools block in change_list.html

    There is no object-tools block in change_list.html

    I just tried to use the django-wpadmin app together with the django-reversion app and noticed that the "Recover deleted [object name plural]" link was missing. Django reversion obviously uses the object-tools block to add this link to the change list. And because the django-wpadmin's change_list.html is not using this block, nothing is being displayed.

    Is there any proper solution for this?

    Thank you very much in advance.

    Best regards, Rico Moorman

    opened by rmoorman 8
  • Site Header difficult to change

    Site Header difficult to change

    If in yourapp/admin.py you configure a site header like this, wpadmin won't show it:

    admin.site.site_header = "My site administration"
    

    A workaround in menu/menus.py, in class DefaultTopMenu:

    from django.contrib.admin import site
    title=getattr(site, 'site_header', _('Django administration')),
    

    You may want to get the site from settings.wpadmin['admin']['admin_site'].

    I hope it's helpin'.

    opened by batisteo 3
  • Login site showing black in Firefox

    Login site showing black in Firefox

    First wanted to congratulate for the great job before posting the issue I have experienced with Firefox. In fact, the Login site is showing black in Firefox. This can be reproduced by calling: http://django-wpadmin.dev.barszcz.info/adminpanel/ in Firefox. Cheers wpadmin_login_firefox_login_issue

    opened by kouete 2
  • Unable to create jQuery modal dialog

    Unable to create jQuery modal dialog

    Hi,

    I'm trying to create a modal dialog to display when the admin page is ready using this code in the change_list.txt template :

    <script type="text/javascript">
    
        (function($) {
            $(document).ready(function($) {
                 $("#dialog").dialog({
                    modal: true,
                    autoOpen: true
                });
            });
        })(django.jQuery);
    </script>
    

    ..but when I load the page I'm getting "Uncaught TypeError: undefined is not a function".

    Dialog is defined in change_list.txt (which is overriden) inside block content like this :

    <div id="dialog" title="Title">This is dialog.</div>
    

    What should I do to set this dialog to show?

    opened by bratislav 2
  • Appearance is off in Django 1.6.5

    Appearance is off in Django 1.6.5

    Not sure if this is really an issue or the fact I'm upgrading a legacy site from 1.3 to 1.6.5, but when I add this app, the left-hand bar does not appear and the colors are off. It's the same in Chrome and Firefox and I don't see any missing files/ 404s in the network panel. I've removed the custom /templates/admin/*.html files the site did have and I've run collectstatic, but the site still looks like this:

    wpadmin

    There are a couple of other admin packages in use, django-wysiwyg-redactor and filebrowser but shutting those off has no effect. What's the best way to debug this?

    opened by tclancy 2
  • jazzband maintain this project

    jazzband maintain this project

    Hi @barszczmm Look like lots of people want to help to maintain this repository maybe you can consider a project transfer to jazzband ?

    https://github.com/jazzband

    Just a suggestion!

    opened by CARocha 1
  • costum site_name

    costum site_name

    Hii.. there.. big pardon to ask something...

    I already add this code on my django settings.py: SITE_URL='www.mydomain.tld/somewhere/' SITE_NAME='My site'

    but doesnt works..still doesnt anything happen... 11

    how to costum text and icon, i found on https://github.com/barszczmm/django-wpadmin/blob/master/wpadmin/menu/menus.py , and just re-write class BasicTopMenu(Menu):

    class BasicTopMenu(Menu):
        """
        Basic default top menu.
        """
    
        def init_with_context(self, context):
    
            admin_site_name = get_admin_site_name(context)
    
            if 'django.contrib.sites' in settings.INSTALLED_APPS:
                from django.contrib.sites.models import Site
                site_name = Site.objects.get_current().name
                site_url = 'http://' + Site.objects.get_current().domain
            else:
                site_name = _('Site')
                site_url = '/'
    
            self.children += [
                items.MenuItem(
                    title=site_name,
                    url=site_url,
                    icon='fa-bullseye',
                    css_styles='font-size: 1.5em;',
                ),
    

    I change site_name and site_url directly from the code, and also the icon url . Does have a method change the text very simple to do?

    Very big thanks and appreciation for the response

    opened by efenfauzi 1
  • Warning message django 1.7

    Warning message django 1.7

    Hi, congrats for the project, I like it very much. I am getting following message on start: UserWarning: Django WP Admin 1.6.3 is not compatible with Django 1.7.1 and may not work properly. You should install Django WP Admin from 1.7.x branch. , but cannot see branch 1.7 here. Can you tell me what is not compatible with django 1.7 to be aware of it.

    P.S. Also you should add z-index above 1020 to #bottombar , because In django geo admin the map has z-index 726 and it overlaps your controls. map1

    opened by kpacn 1
  • Fixes related lookup inputs

    Fixes related lookup inputs

    This fixes a problem with related lookup inputs (raw id widgets). These inputs should open a separate modal window to choose the item and once the user clicks the item it automatically closes and assigns the value in the input of the change_form and wpadmin change_form template don't have this working.

    PS. wpadmin v1.7.4 on top of django 1.8.4 (everything works fine except this)

    opened by luiscvalmeida 0
  • django 3.0 support

    django 3.0 support

    Hello :D

    I get this error when installing: django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'wpadmin.templatetags.wpadmin_menu_tags': No module named 'django.utils.importlib

    Any fix?

    opened by emilpriver 1
  • Not working with Django 2.0.1

    Not working with Django 2.0.1

    I am using Django 2.0.1 I installed django-wpadmin from master branch. When I entered ./manage.py runserver, I saw the following warning:

    UserWarning: Django WP Admin 1.7.4 is not compatible with Django 2.0.1 and may not work properly. You should install Django WP Admin from 2.0.x branch.

    However, I cannot find 2.0.x branch.

    opened by eeriksp 0
  • UserWarning Django WP Admin 1.7.4 is not compatible with Django 1.8.0

    UserWarning Django WP Admin 1.7.4 is not compatible with Django 1.8.0

    I am getting below warning

    UserWarning: Django WP Admin 1.7.4 is not compatible with Django 1.8.0 and may not work properly. You should install Django WP Admin from 1.8.x branch. UserWarning)

    But I dont find 1.8 branch. How to solve this ?

    opened by MadhuriHR 0
  • Horizontal scroll on mobile devices doesn't work

    Horizontal scroll on mobile devices doesn't work

    Horizontal scroll on mobile devices doesn't work. I'm using admin panel from mobile. I discovered that horizontal scroll doesn't appear on mobile devices. Do we have any update on responsiveness of wp-admin theme?

    opened by mjrulesamrat 0
Material design for django administration

Django Material Administration Quick start pip install django-material-admin Add material.admin and material.admin.default to your INSTALLED_APPS sett

Anton 279 Jan 5, 2023
An administration website for Django

yawd-admin, a django administration website yawd-admin now has a live demo at http://yawd-admin.yawd.eu/. Use demo / demo as username & passowrd. yawd

Pantelis Petridis 140 Oct 30, 2021
Jet Bridge (Universal) for Jet Admin – API-based Admin Panel Framework for your application

Jet Bridge for Jet Admin – Admin panel framework for your application Description About Jet Admin: https://about.jetadmin.io Live Demo: https://app.je

Jet Admin 1.3k Dec 27, 2022
📱 An extension for Django admin that makes interface mobile-friendly. Merged into Django 2.0

Django Flat Responsive django-flat-responsive is included as part of Django from version 2.0! ?? Use this app if your project is powered by an older D

elky 248 Sep 2, 2022
An improved django-admin-tools dashboard for Django projects

django-fluent-dashboard The fluent_dashboard module offers a custom admin dashboard, built on top of django-admin-tools (docs). The django-admin-tools

django-fluent 326 Nov 9, 2022
A Django app for easily adding object tools in the Django admin

Django Object Actions If you've ever tried making admin object tools you may have thought, "why can't this be as easy as making Django Admin Actions?"

Chris Chang 524 Dec 26, 2022
Legacy django jet rebooted , supports only Django 3

Django JET Reboot Rebooting the original project : django-jet. Django Jet is modern template for Django admin interface with improved functionality. W

null 215 Dec 31, 2022
Disable dark mode in Django admin user interface in Django 3.2.x.

Django Non Dark Admin Disable or enable dark mode user interface in Django admin panel (Django==3.2). Installation For install this app run in termina

Artem Galichkin 6 Nov 23, 2022
Django application and library for importing and exporting data with admin integration.

django-import-export django-import-export is a Django application and library for importing and exporting data with included admin integration. Featur

null 2.6k Jan 7, 2023
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Django Hijack With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials. Docs See http://django

null 1.2k Jan 5, 2023
Extends the Django Admin to include a extensible dashboard and navigation menu

django-admin-tools django-admin-tools is a collection of extensions/tools for the default django administration interface, it includes: a full feature

Django Admin Tools 731 Dec 28, 2022
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Django Hijack With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials. Docs 3.x docs are avai

null 1.2k Jan 2, 2023
A cool, modern and responsive django admin application based on bootstrap 5

django-baton A cool, modern and responsive django admin application based on bootstrap 5 Documentation: readthedocs Live Demo Now you can try django-b

Otto srl 678 Jan 1, 2023
fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin 1.6k Dec 30, 2022
Tactical RMM is a remote monitoring & management tool for Windows computers, built with Django and Vue.

Tactical RMM is a remote monitoring & management tool for Windows computers, built with Django and Vue. It uses an agent written in golan

Dan 1.4k Dec 30, 2022
Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo

Django JET Modern template for Django admin interface with improved functionality Attention! NEW JET We are proud to announce completely new Jet. Plea

Geex Arts 3.4k Dec 29, 2022
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.

Xadmin Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap. Liv

差沙 4.7k Dec 31, 2022
A Django app that creates automatic web UIs for Python scripts.

Wooey is a simple web interface to run command line Python scripts. Think of it as an easy way to get your scripts up on the web for routine data anal

Wooey 1.9k Jan 1, 2023
A jazzy skin for the Django Admin-Interface (official repository).

Django Grappelli A jazzy skin for the Django admin interface. Grappelli is a grid-based alternative/extension to the Django administration interface.

Patrick Kranzlmueller 3.4k Dec 31, 2022