Hi Adrian,
On Sat, 2006-07-01 at 12:52 -0500, Adrian Holovaty wrote:
[...]
> The problem with this arrangement is that it causes any import of
> django.utils.translation to load django.conf.settings -- and the
> settings file in itself imports the translation hooks, because of the
> LANGUAGES set
On Saturday 01 July 2006 21:03, Ahmad Alhashemi wrote:
> The first one is to provide a feature in models that will allow me to
> pre-define some filters. For example, I can put one line that will
> make the ORM always filter the results of a certain object by
> weblog_id without having to specify
Hi Malcolm,
Thank you for your reply. Sorry that my first email wasn't clear.
I wasn't asking on how to add this feature to an actual application I
currently have, I'm asking for pointers because I want to add a new
feature to Django's core that will make it easier to add such a feature
to any D
I'm working on improvements to this new USE_I18N setting I added
yesterday, and I've run into a bit of a problem --
In my local Django sandbox, I've turned django.utils.translation into
a package that contains __init__.py, trans_real.py and trans_null.py.
The __init__.py contains this:
from