django-admin-react

(★ 11)

A drop-in React single-page admin for Django — driven entirely by your existing ModelAdmin. Dark mode, mobile cards, drag-and-drop column layout with freezable columns, keyboard a11y, JSON-aware detail rendering, and a bidirectional bridge to the classic admin during migration. Pip install and go — no React code on your side.

File Explorer

  • .editorconfig
  • .gitignore
  • .pre-commit-config.yaml
  • ARCHITECTURE.md
  • CHANGELOG.md
  • LICENSE
  • package.json
  • poetry.lock
  • pyproject.toml
  • README.md
  • SECURITY.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

batch

View Details ▼

Execute commands at a later time when the system load levels permit.
Results will be sent to the user's mail.
See also: `at`, `atq`, `atrm`, `mail`.

batch

Execute commands from `stdin` (press `<Ctrl d>` when done):

systemctl start atd

Start the `atd` daemon:

echo "{{./make_db_backup.sh}}" | batch

Execute a command from `stdin`:

🔍

django-admin

View Details ▼

Django's utility for administrative tasks.

django-admin startproject {{project_name}}

Create a new Django project:

django-admin startapp {{app_name}}

Create a new app for the current project:

django-admin help {{command}}

Display help for a specific command:

🔍

gettext

View Details ▼

Translates a string using stored translations in a compiled `.mo` file.
Translations are stored in `/usr/share/locale/locale_name/LC_MESSAGES/` with `domain` being the filename without its extension.
See also: `msgfmt`, `msgunfmt`.

LANGUAGE={{locale}} gettext {{[-d|--domain]}} {{domain}} "{{msgid}}"

Get the translation of a string as specified in the domain file (falls back to given `msgid` if no translation exists):

gettext {{[-h|--help]}}

Display help:

gettext {{[-V|--version]}}

Display version:

🔍

hash

View Details ▼

View cached executable locations.

hash

View cached command locations for the current shell:

hash -r

Clear the hash table:

hash -d {{command}}

Delete a specific command from the hash table:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

salt

View Details ▼

Execute commands and assert state on remote salt minions.

salt '*' test.ping

List connected minions:

salt '*' state.highstate

Execute a highstate on all connected minions:

salt '*.example.com' pkg.upgrade

Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions:

🔍

select

View Details ▼

Bash builtin construct for creating menus.

select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done

Create a menu out of individual words:

select {{line}} in $({{command}}); do echo ${{line}}; done

Create a menu from the output of another command:

PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done

Specify the prompt string for `select` and create a menu for picking a file or folder from the current directory:

🔍

mount

View Details ▼

Mount host directories/drives/images as virtual DOS drives.

MOUNT C .

Mount current directory as C:

MOUNT C {{C:\path\to\directory}}

Mount specific directory as C:

MOUNT C {{C:\path\to\directory}} -freesize {{1024}}

Mount with free space limit (MB):

🔍

script

View Details ▼

Record all terminal output to a typescript file.

script

Record a new session to a file named `typescript` in the current directory:

exit

Stop recording:

script {{path/to/session.out}}

Record a new session to a custom filepath:

# Project Badges

// repository documentation