Last Updated: October 18, 2020
·
1.872K
· itseranga

Django command auto completion

Tab completion

In order to add tab completion of django-admin.py and manage.py commands we can use django_bash_completion file

https://github.com/django/django/blob/master/extras/django_bash_completion

How to use it

.  $HOME/.django_bash_completion
  • Now type django-admin.py start <tab> it will suggest all the commands available with start

Picture