diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-08-07 20:05:07 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-08-08 19:52:57 +0200 |
| commit | a6baada7bdf0c2b14045ee86364f9401c7b91b7c (patch) | |
| tree | fdfd8035bb49307c700320f5751b30b62eea44f7 /django | |
| parent | 74105b26365c6e862f347656cc085faf18cc0bb1 (diff) | |
Fixed #26940 -- Removed makemessages from no_settings_commands whitelist
As makemessages uses several settings for proper run (FILE_CHARSET,
LOCALE_PATHS, MEDIA_ROOT, and STATIC_ROOT), we should require settings
configuration for this command.
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 739dc25297..a49ffdd3b8 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -308,8 +308,7 @@ class ManagementUtility(object): no_settings_commands = [ 'help', 'version', '--help', '--version', '-h', - 'compilemessages', 'makemessages', - 'startapp', 'startproject', + 'startapp', 'startproject', 'compilemessages', ] try: |
