﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
7643	manage.py makemessages not working	Horst Gutmann <zerok@…>	Jannis Leidel	"When executing the new ( #5522 ) makemessages command using manage.py, I receive a runtime error indicating that settings are initialized twice:

{{{
$ python manage.py makemessages -a
Traceback (most recent call last):
  File ""manage.py"", line 11, in <module>
    execute_manager(settings)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/__init__.py"", line 272, in execute_manager
    utility.execute()
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/__init__.py"", line 219, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/base.py"", line 77, in run_from_argv
    self.execute(*args, **options.__dict__)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/base.py"", line 91, in execute
    output = self.handle(*args, **options)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/commands/makemessages.py"", line 159, in handle
    make_messages(locale, domain, verbosity, process_all)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/core/management/commands/makemessages.py"", line 17, in make_messages
    settings.configure(USE_I18N = True)
  File ""/Users/zerok/.local/lib/python2.5/site-packages/django/conf/__init__.py"", line 68, in configure
    raise RuntimeError, 'Settings already configured.'
RuntimeError: Settings already configured.
}}}

Attached is a small patch that's supposed to solve this and still work with django-admin.py :-)"		closed	Core (Management commands)	dev		fixed	makemessages, i18n, command		Unreviewed	0	0	0	0	0	0
