Skip to main content

Keyboard Shortcuts for your Admin Backend

Project description

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

Keyboard Shortcuts for your Admin Backend. Currently, only a "save" shortcut is implemented.


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 J/K navigation for result lists. Pressing enter on a selected row opens the detail 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

Contribute
----------

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

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-keyboard-shortcuts-0.1.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

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