> The problem is caused by the way that Django loads and indexes
> applications. I haven't tried putting code in __init__.py, but it
> certainly doesn't surprise me that it has caused you difficulties.
>
> > If this is not the
> > case, where
> > is the best place to do the kind of initialisation
On 3/30/07, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> Now, why should this be? The traceback is mystifying to me - can
> anyone shed any
> light?
The problem is caused by the way that Django loads and indexes
applications. I haven't tried putting code in __init__.py, but it
certainly doesn't sur
jango/utils/translation/
trans_real.py", line
255, in gettext
_default = translation(settings.LANGUAGE_CODE)
File
"/usr/lib/python2.4/site-packages/django/utils/translation/
trans_real.py", line
184, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File
&
3 matches
Mail list logo