Changes between Version 179 and Version 180 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Jul 6, 2008, 1:41:38 AM (16 years ago)
Author:
Malcolm Tredinnick
Comment:

make-messages and compile-messages move

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v179 v180  
    6161 * [7806] June 30, 2008 [#DefaultUserorderingremoved Default User ordering removed]
    6262 * [7814] July 1, 2008 [#Uploadedfilechanges Uploaded file changes]
     63 * [7844] July 6, 2008 [#Translationtoolsnowpartofdjango-admin.py Translation tools now part of `django-admin.py`]
    6364
    6465== Database constraint names changed ==
     
    642643
    643644The old dictionary-style key access is still supported, but will raise a {{{DeprecationWarning}}}.
     645
     646== Translation tools now part of `django-admin.py` ==
     647
     648In [7844] the tools to extract strings for translations (formerly `make-messages.py`) and compile the PO files (formerly `compile-messages.py`) were moved into `django-admin.py`. The old executables still exist, but raise errors and point the caller towards the correct command to run (both of these files are designed to be run from the command line, not as part of other programs).
     649
     650|| '''Old command'''            ||  ''' New '''                                   ||
     651|| {{{make-messages.py -l xx}}} || {{{django-admin.py makemessages -l xx}}}       ||
     652|| {{{compile-messages.py -l xx}}} || {{{django-admin.py compilemessages -l xx}}} ||
     653
     654The options accepted by the new form are the same as the options accepted by the old commands, only the calling convention has changed (this reduced the number of executables Django has to install).
Back to Top