https://github.com/arteria/django-admin-keyboard-shortcuts
Keyboard Shortcuts for your Django Admin Backend.
https://github.com/arteria/django-admin-keyboard-shortcuts
Last synced: 2 months ago
JSON representation
Keyboard Shortcuts for your Django Admin Backend.
- Host: GitHub
- URL: https://github.com/arteria/django-admin-keyboard-shortcuts
- Owner: arteria
- License: mit
- Created: 2013-10-21T13:53:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-14T07:18:34.000Z (over 9 years ago)
- Last Synced: 2025-03-24T17:52:30.566Z (3 months ago)
- Language: Python
- Size: 256 KB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
A Django Admin Keyboard Shortcuts Experiment
============Consider this app as an experiment that was abandoned. Do not use it in production. The idea behind this experiment was to provide keyboard shortcuts for your admin site. 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
============Keyboard Shortcut or Key | Alternative Keyboard Shortcut | Page | Command
------------- | ------------- | ------------- | -------------
``Ctrl`` + ``s`` | ``cmd`` + ``s`` | Object detail | Save the current object. Is equal to clicking the "save" button on the bottom of page.
``j`` / ``k`` | | Object list | Navigation up and down in the result list. Pressing the ``return`` key on a selected row opens the object detail page.
``Ctrl`` + ``o`` | ``cmd`` + ``o`` | Object detail | Save current and open new object (= add another).
``Ctrl`` + ``e`` | ``cmd`` + ``e`` | Object detail | Save current and and continue editing.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.htmlHistory
============Development Version
-------------------0.1.5
-----* Bugfix release
0.1.4
-----* Added new shortcuts, see Usage section.
* Changed README to Markdown
* Startet HistoryContribute
============That's easy - just send your pull request. Thanks!
[](https://bitdeli.com/free "Bitdeli Badge")