Permalink
Browse files

django 1.4.5 i18n/l10n updates

django 1.4.5 deprecates auto-discovery of locale/; add explicit LOCALE_PATHS setting

new tower doesn't need or have verbatimize command
  • Loading branch information...
1 parent 3a32a2b commit f33751ed19dc15fbffc757559ddc8db29aad03c1 @groovecoder groovecoder committed Apr 4, 2013
Showing with 1 addition and 1 deletion.
  1. +0 −1 docs/localization.rst
  2. +1 −0 settings.py
View
1 docs/localization.rst
@@ -275,7 +275,6 @@ be big merging headaches.
Updating strings is pretty easy. Check out the localizations as above, then::
$ python manage.py extract
- $ python manage.py verbatimize --rename
Congratulations! You've now updated the POT file.
View
1 settings.py
@@ -277,6 +277,7 @@ def lazy_language_deki_map():
# to load the internationalization machinery.
USE_I18N = True
USE_L10N = True
+LOCALE_PATHS = path('locale')
# Use the real robots.txt?
ENGAGE_ROBOTS = False

0 comments on commit f33751e

Please sign in to comment.