Skip to main content

Keyboard shortcuts for Django Admin

Project description

django-admin-keyshortcuts

A Django package that adds keyboard shortcuts to the Django Admin interface for improved accessibility.

Demo

A static preview of Django Admin with Keyboard Shortcuts is available at:
https://khanxmetu.github.io/django-admin-keyshortcuts-demo/

Setup

Install from pip:
pip install django-admin-keyshortcuts

then add django_admin_keyshortctus before django.contrib.admin in your INSTALLED_APPS:

INSTALLED_APPS = (
    ...,
    'django_admin_keyshortcuts',
    'django.contrib.admin', 
    ...,
)

Usage

The following is a list of supported shortcuts

Description Shortcut (Windows/Linux) Shortcut (MacOS) Scope
Show shortcuts help dialog ? ? Global
Go to the site index g i g i Global
Toggle sidebar [ [ Global (where it exists)
Select previous row for action k k Change List
Select next row for action j j Change List
Toggle row selection x x Change List
Focus actions dropdown a a Change List
Focus search field / / Change List
Save and go to change list Ctrl+s ⌘+s Change Form
Save and add another Ctrl+Shift+S ⌘+Shift+S Change Form
Save and continue editing Ctrl+Alt+s ⌘+⌥+s Change Form
Delete Alt+d ⌥+d Change Form
Confirm deletion Alt+y ⌥+y Delete Confirmation
Cancel deletion Alt+n ⌥+n Delete Confirmation

About

The django-admin-keyshortcuts package is being developed with the goal of eventually merging its functionality into Django core.
This package has been undergoing refinements with respect to GSoC 2025: Keyboard Shortcuts Specification

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_admin_keyshortcuts-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_keyshortcuts-0.2.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_keyshortcuts-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django_admin_keyshortcuts-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b4ddb2819fadc79300d78bddca1a70f083ef91654c07d7363bba019d73cd12a3
MD5 57617f4c031b4e21ccd94cc5b9ea7c93
BLAKE2b-256 4e18bd20d17eb0096bf1140b26bdf0d26fa0b9cf472e0ab3b3476ae6923a95c7

See more details on using hashes here.

File details

Details for the file django_admin_keyshortcuts-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_keyshortcuts-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5dd54a66de5cd4a94f4a05dd1b528b105e31647b9992846b84e04f3ff133c32
MD5 bdd574e35ff821c86a502d789a023b52
BLAKE2b-256 2fe645e0b24f3bbaf9567ad5d74ffba009dfc4c931351b9d253e351319c85b57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page