Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Keyboard Shortcuts for your Admin Backend

Project description

About Django Admin Keyboard Shortcuts
============

Keyboard Shortcuts for your Admin Backend. See "Usage" section below for all implemented shortcuts.


Installation
============

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-admin-keyboard-shortcuts

To get the latest commit from GitHub

.. code-block:: bash

pip install -e git+git://github.com/arteria/django-admin-keyboard-shortcuts.git#egg=admin_keyboard_shortcuts


There are not further dependencies!

In your project settings, add ``admin_keyboard_shortcuts`` to your ``INSTALLED_APPS`` before ``django.contrib.admin``

.. code-block:: python

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



Optionally, by setting ``ADMIN_KEYBOARD_SHORTCUTS_HIDE_ICON = True`` in project settings, the icon that indicates
"shortcut support" will be hidden.




Don't forget to collect the icons

.. code-block:: bash

./manage.py collectstatic


Usage
============


* Just hit ``cmd`` + ``s`` (or ``Ctrl`` + ``s``) instead of clicking the "save" button on the bottom of the Django admin.
* Use ``cmd`` + ``o`` (or ``Ctrl`` + ``o``) to save current and open new object (= add another).
* Use ``cmd`` + ``c`` (or ``Ctrl`` + ``c``) to save current and continue editing
* Use ``j`` and ``k`` navigation for result lists. Pressing the ``return`` key on a selected row opens the detail page.


TODO and planned features
============

* Open new object (= add another) on the for result lists
* Navigation using ``j`` and ``k`` in admin start page.


Icon
============


The icon is from Janik Baumgartner http://janikbaumgartner.com/
and can be found here: http://www.iconarchive.com/show/woocons-icons-by-janik-baumgartner.html

History
============


Development Version
-------------------

0.1.5
-----

* Bugfix release

0.1.4
-----

* Added new shortcuts, see Usage section.
* Changed README to Markdown
* Startet History



Contribute
============


That's easy - just send your pull request. Thanks!

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/philippeowagner/django-admin-keyboard-shortcuts/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Project details


Download files

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

Files for django-admin-keyboard-shortcuts, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size django-admin-keyboard-shortcuts-0.1.5.tar.gz (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page