explaingit

sshwsfc/xadmin

4,759PythonAudience · developerComplexity · 2/5Setup · easy

TLDR

A drop-in replacement for Django's built-in admin interface with a Bootstrap design, advanced filters, a customizable dashboard, and data export. Switch with one settings change, no rewrite needed.

Mindmap

mindmap
  root((xadmin))
    What it does
      Replaces Django admin
      Bootstrap UI
    Features
      Advanced filters
      Dashboard widgets
      Data export
      Bookmarks
    Setup
      One pip command
      Settings swap
    Tech Stack
      Python
      Django
      Bootstrap
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Replace a Django project's plain admin interface with a polished Bootstrap-based panel in minutes.

USE CASE 2

Add date range and number range filters to admin list views for easier data browsing.

USE CASE 3

Export database records to XLS, CSV, XML, or JSON directly from the admin interface.

Tech stack

PythonDjangoBootstrapJavaScript

Getting it running

Difficulty · easy Time to first run · 30min

No longer actively maintained, verify Django version compatibility before adding to a new project.

In plain English

Xadmin is a replacement for Django's built-in admin interface, designed for developers who want a more polished and flexible management panel for their web applications. Django is a Python web framework, and it ships with a basic admin panel that lets you view and edit your database records. Xadmin keeps the same familiar setup process but replaces the default visual design with a Bootstrap-based layout and adds a range of extra features. The improvements include better filtering controls for lists, including date range and number range filters, a dashboard page where you can add summary widgets, and the ability to export data in spreadsheet and structured formats like XLS, CSV, XML, and JSON. There is also a bookmarking feature that lets site users save frequently visited pages within the admin, and a plugin system that lets developers extend behavior without modifying the core code. Installing it is similar to other Python packages: one pip command adds it to your project, and you replace a reference in your Django settings to point at xadmin instead of the default admin module. Your existing model registrations carry over, so switching does not require rewriting your admin configuration from scratch. The project requires Django 1.9 or higher and a few optional packages for specific features, such as django-reversion for tracking record history or xlwt for XLS exports. Documentation was available in Chinese at the time of the README, with English documentation listed as coming soon. The repository has not seen active development in some years and should be evaluated carefully for compatibility with current Django versions before use in a new project.

Copy-paste prompts

Prompt 1
I have a Django project and want to switch from the default admin to xadmin. Walk me through the pip install, settings change, and any migration steps needed.
Prompt 2
Using xadmin, how do I add a dashboard widget that shows the total count of a model and recent activity on the admin home page?
Prompt 3
In xadmin, how do I configure a date range filter and a number range filter on a ModelAdmin class for a Sales model with date and amount fields?
Prompt 4
How do I create a custom xadmin plugin that adds a button to the admin list view toolbar?
Open on GitHub → Explain another repo

← sshwsfc on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.