Actually, this script has another problem: it actually overrides and disables the completions provided for python by the bash-completion package at /usr/share/bash-completion/completions/python. I think that’s a really unfriendly thing to do, so I would propose that the second half of the script starting at _python_django_completion should be deleted entirely.
If desired, the script could then be moved from /etc/bash_completion.d to /usr/share/bash-completion/completions/{django-admin.py,manage.py,django-admin} with something like Breaks: bash-completion (<< 1:1.90-1). Then it won’t interfere with shell startup at all. Anders -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org