1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-15 02:10:08 +00:00
ohmyzsh/plugins/django
Marc Cornellà 610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
..
django.plugin.zsh Remove current directory from sys.path in python invocations (#8408) 2019-11-21 03:29:16 +01:00
README.md Clean up plugin READMEs and a few plugins 2020-03-11 19:57:46 +01:00

Django plugin

This plugin adds completion and hints for the Django Project manage.py commands and options.

To use it, add django to the plugins array in your zshrc file:

plugins=(... django)

Usage

$> python manage.py (press <TAB> here)

Would result in:

cleanup                    -- remove old data from the database
compilemessages            -- compile .po files to .mo for use with gettext
createcachetable           -- creates table for SQL cache backend
createsuperuser            -- create a superuser
dbshell                    -- run command-line client for the current database
diffsettings               -- display differences between the current settings and Django defaults
dumpdata                   -- output contents of database as a fixture
flush                      -- execute 'sqlflush' on the current database
inspectdb                  -- output Django model module for tables in database
loaddata                   -- install the named fixture(s) in the database
makemessages               -- pull out all strings marked for translation
reset                      -- executes 'sqlreset' for the given app(s)
runfcgi                    -- run this project as a fastcgi
runserver                  -- start a lightweight web server for development
...