您花费太多时间输入 'python manage.py'。
项目描述
您花费太多时间输入 python manage.py。
用法
Django shortcuts安装一个django二进制文件,该文件代理Django的manage.py和django-admin.py脚本。
$ django <command or shortcut> $ cd any/project/subdirectory $ django <command or shortcut>
需求
某些命令需要额外的包
South
Haystack
Django命令扩展
快捷键
# 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'
安装
$ pip install django-shortcuts
项目详情
关闭
django-shortcuts-1.6.tar.gz的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | eac6f9e2f4acdba3856046405c21382d36b66414bcd14c390f6027ac15f28ca8 |
|
MD5 | 5f55b768076684cb7d8e5f2172d3bbec |
|
BLAKE2b-256 | 2691b4b7785279269559028e62831ca98bc45a5086236194314b43e39c227917 |