Django

Code

Show
Ignore:
Timestamp:
07/06/08 01:39:44 (5 months ago)
Author:
mtredinnick
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/extras/django_bash_completion

    r7727 r7844  
    4343 
    4444    # Standalone options 
    45     opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version
     45    opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version --locale --domain
    4646    # Actions 
    47     actions="adminindex createcachetable createsuperuser dbshell diffsettings \ 
    48              dumpdata flush inspectdb loaddata reset runfcgi runserver
    49              shell sql sqlall sqlclear sqlcustom sqlflush sqlindexes
    50              sqlreset sqlsequencereset startapp startproject
    51              syncdb test validate" 
     47    actions="adminindex createcachetable createsuperuser compilemessages \ 
     48             dbshell diffsettings dumpdata flush inspectdb loaddata
     49             makemessages reset runfcgi runserver shell sql sqlall sqlclear
     50             sqlcustom sqlflush sqlindexes sqlreset sqlsequencereset startapp
     51             startproject syncdb test validate" 
    5252    # Action's options 
    5353    action_shell_opts="--plain" 
     
    119119                ;; 
    120120 
    121             createcachetable|dbshell|diffsettings| \ 
    122             inspectdb|runserver|startapp|startproject|syncdb| \ 
     121            createcachetable|cleanup|compilemessages|dbshell| \ 
     122            diffsettings|inspectdb|makemessages| \ 
     123            runserver|startapp|startproject|syncdb| \ 
    123124            validate) 
    124125                COMPREPLY=()