>Does this mean I have to use this in all the models? >class META: > module_constants = { > 'gettext_lazy': gettext_lazy > } > >- or - > >def __repr__(self): > from django.utils.translation import gettext_lazy > return gettext_lazy("blah")
Exactly. >It doesn't sound like magic, but I'll be glad when it's gone :) It's a side-effect of the magic. Actually I think the branch should have be named "drive-out-the-devil", but maybe that would have upset the satanists ;-) bye, Georg