django-shortcuts-1.6
توضیحات
You spend way too much time typing 'python manage.py'
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-shortcuts-1.6 |
| نام | django-shortcuts |
| نسخه کتابخانه | 1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Johannes Gorset |
| ایمیل نویسنده | jgorset@gmail.com |
| آدرس صفحه اصلی | http://github.com/jgorset/django-shortcuts |
| آدرس اینترنتی | https://pypi.org/project/django-shortcuts/ |
| مجوز | - |
Django shortcuts
================
You spend too much time typing ``python manage.py``.
Usage
-----
Django shortcuts installs a ``django`` binary that proxies
Django's ``manage.py`` and ``django-admin.py`` scripts.
::
$ django <command or shortcut>
$ cd any/project/subdirectory
$ django <command or shortcut>
Requirements
------------
Some commands require additional packages
+ South
+ Haystack
+ Django Command Extensions
Shortcuts
---------
::
# Django
'c' : 'collectstatic',
'r' : 'runserver',
'sd' : 'syncdb',
'sp' : 'startproject',
'sa' : 'startapp',
't' : 'test',
# Shell
'd' : 'dbshell',
's' : 'shell',
# Auth
'csu': 'createsuperuser',
'cpw': 'changepassword',
# South
'm' : 'migrate',
'mm' : 'makemigrations',
'sm' : 'schemamigration',
'dm' : 'datamigration',
# Haystack
'ix' : 'update_index',
'rix': 'rebuild_index',
# Django Extensions
'sk' : 'generate_secret_key',
'rdb': 'reset_db',
'rp' : 'runserver_plus',
'shp': 'shell_plus',
'url': 'show_urls',
'gm' : 'graph_models',
'rs' : 'runscript'
Installation
------------
::
$ pip install django-shortcuts
نحوه نصب
نصب پکیج whl django-shortcuts-1.6:
pip install django-shortcuts-1.6.whl
نصب پکیج tar.gz django-shortcuts-1.6:
pip install django-shortcuts-1.6.tar.gz