django-admin-keyboard-shortcuts-0.1.5
توضیحات
Keyboard Shortcuts for your Admin Backend
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-admin-keyboard-shortcuts-0.1.5 |
| نام | django-admin-keyboard-shortcuts |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | arteria GmbH |
| ایمیل نویسنده | admin@arteria.ch |
| آدرس صفحه اصلی | https://github.com/arteria/django-admin-keyboard-shortcuts |
| آدرس اینترنتی | https://pypi.org/project/django-admin-keyboard-shortcuts/ |
| مجوز | The MIT License |
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!
[](https://bitdeli.com/free "Bitdeli Badge")
نحوه نصب
نصب پکیج whl django-admin-keyboard-shortcuts-0.1.5:
pip install django-admin-keyboard-shortcuts-0.1.5.whl
نصب پکیج tar.gz django-admin-keyboard-shortcuts-0.1.5:
pip install django-admin-keyboard-shortcuts-0.1.5.tar.gz