Skip to content

reggiepy/cslab-xadmin

 
 

Repository files navigation

cslab-xadmin (OBR CSLAB Django 3 Fork)

cslab-xadmin is a drop-in replacement of Django admin for Django 3.0/3.2, maintained by the OBR CSLAB team.

It is fully extensible with plugin support and features a pretty UI based on Twitter Bootstrap 3.

Key Features

  • Django 3.0+ Ready: Fully compatible with Django 3.0 and 3.2 LTS.
  • Modern Python: Optimized for Python 3.6 - 3.10.
  • Built-in Plugins: Includes export, import, charts, dashboard, and more.
  • Bootstrap 3: Clean and responsive user interface based on Twitter Bootstrap with theme support.
  • Better UX: Enhanced filters, date ranges, number ranges, and in-site bookmarking.

Quick Start

Install

Installation via PyPI:

pip install cslab-xadmin

Or install from source:

pip install git+https://github.com/reggiepy/cslab-xadmin.git

Install Requires

Usage

Add xadmin and crispy_forms to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'xadmin',
    'crispy_forms',
    'reversion', # optional
)

And replace the default admin.site.urls in your urls.py:

import xadmin
xadmin.autodiscover()

from xadmin.plugins import xversion
xversion.register_models()

urlpatterns = [
    path(r'xadmin/', xadmin.site.urls),
]

Run Demo Locally

cd demo_app
python manage.py migrate
python manage.py runserver

Open http://127.0.0.1:8000 in your browser, the admin user password is admin.

License

BSD License. See the LICENSE file for details.

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 70.0%
  • HTML 15.7%
  • JavaScript 10.5%
  • CSS 3.7%
  • Shell 0.1%