Context Navigation

Bash auto-completion for django-admin.py/manage.py

Can't you remember the options for django-admin.py or are you just plain lazy as me, then the following little script might be something for you.

The following script will add auto completion to django-admin.py and manage.py for actions and options. It has the latest actions and options from trunk 5833. The script is limited to only auto-completing the actions and options. The script won't e.g find your application names if you type manage.py adminindex somepartialappname<TAB>.

Installation

To install it, copy the script below and save it e.g. in a file ~/.djangocompletion.sh. In your ~/.profile you just run the script by e.g. adding the follwoing line: