﻿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
24842	Resets settings if before defining DATABASES use ugettext or ugettext_lazy	Lagovas	nobody	"Code like:
{{{#!python
from django.utils.translation import ugettext_lazy as _
class SOME_SETTINGS_CONSTANT:
    A=1_(u'a')
    B=2
    CHOICES = (
        A,  _(u'a')
        B,  _(u'b')
    )
    TEXT_CHOICES = {k:v for k, v in CHOICES}
}}}
After that expression TEXT_CHOICES ... fetch translated value and resets settings like if u used ugettext in settings.py. But if place this expression at the end of settings then all is ok."	Bug	closed	Internationalization	1.6	Normal	needsinfo	settings translations ugettext		Unreviewed	0	0	0	0	0	0
