diff options
author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-06 06:39:44 +0000 |
---|---|---|
committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-06 06:39:44 +0000 |
commit | 3cfa3cbd0747c36095541177da71214289ae6aa3 (patch) | |
tree | 8ad322a9d2d67af073680c74acf72c5357280f42 /extras | |
parent | bff075973a84387f2f25c223a7d9fa8ce09d104a (diff) | |
download | django-3cfa3cbd0747c36095541177da71214289ae6aa3.tar.gz |
Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py.
They are now called "makemessages", "compilemessages" and "cleanup". This is
backwards incompatible for make-messages.py and compile-messages.py, although
the old executables still exist for now and print an error pointing the caller
to the right command to call.
This reduces the number of binaries and man pages Django needs to install.
Patch from Janis Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/django_bash_completion | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/extras/django_bash_completion b/extras/django_bash_completion index c0f7c3516d..affb43a763 100755 --- a/extras/django_bash_completion +++ b/extras/django_bash_completion @@ -42,13 +42,13 @@ _django_completion() prev="${COMP_WORDS[COMP_CWORD-1]}" # Standalone options - opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version" + opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version --locale --domain" # Actions - actions="adminindex createcachetable createsuperuser dbshell diffsettings \ - dumpdata flush inspectdb loaddata reset runfcgi runserver \ - shell sql sqlall sqlclear sqlcustom sqlflush sqlindexes \ - sqlreset sqlsequencereset startapp startproject \ - syncdb test validate" + actions="adminindex createcachetable createsuperuser compilemessages \ + dbshell diffsettings dumpdata flush inspectdb loaddata \ + makemessages reset runfcgi runserver shell sql sqlall sqlclear \ + sqlcustom sqlflush sqlindexes sqlreset sqlsequencereset startapp \ + startproject syncdb test validate" # Action's options action_shell_opts="--plain" action_runfcgi_opts="host port socket method maxspare minspare maxchildren daemonize pidfile workdir" @@ -118,8 +118,9 @@ _django_completion() return 0 ;; - createcachetable|dbshell|diffsettings| \ - inspectdb|runserver|startapp|startproject|syncdb| \ + createcachetable|cleanup|compilemessages|dbshell| \ + diffsettings|inspectdb|makemessages| \ + runserver|startapp|startproject|syncdb| \ validate) COMPREPLY=() return 0 |