Hello all,
I'm face an issue while using the cache middleware :
[Fri Aug 18 13:00:52 2006] [error] [client 10.0.0.199] PythonHandler
django.core.handlers.modpython: File
"/usr/lib/python2.4/site-packages/django/utils/cache.py", line 161, in
learn_cache_key\ncache.set(cache_key, headerlist,
Malcolm Tredinnick wrote:
> On Fri, 2006-08-18 at 11:14 +0000, xgdlm wrote:
> So stop passing it as a string. Set CACHE_MIDDLEWARE_SECONDS = 300 (no
> quotes) and you will be fine.
Thanks for your answer Malcom. This was the trick. I was pretty sure to
have done the test before posting
DavidA wrote:
> But under mod_python, request.META['PATH_INFO'] is '/pos/' while in the
> development server its '/data/pos/' (which I think is right).
I notice the same problem here. Running Apache 2.0.58-r2 and mod_python
3.1.4-r1 on a gentoo box.
for instance :
I'm not using this variabl
Hello all,
I would like to have a Multiple Select box, render the chosen fields of
a
CommaSeparatedIntegerField.
The CommaSeparatedIntegerField stores the ability of a user to move to
a given
area :
--
Mobility =
models.CommaSeparatedIntegerField(maxl
Hello All,
Django brings me to python ... so I'm not a python specialist. I wish
I could you the newforms library and get rid of the oldforms in my
django projects. But I can't use newforms with French language. I read
a lot of problems with unicode strings and special caracters. But I
couldn't r
Thanks for your reply Malcolm
> Hmm... this precise example works for me. Are you using a reasonably
> recent release (like 0.96)? I remember there was a unicode fix that went
> in not too long ago to add smart_unicode() calls in various places for
> things just like this.
I'm running 0.96 and m
adding
DEFAULT_CHARSET = 'iso8859-15'
to my settings.py solves this issue.
I'm wondering how to have a complete UTF-8 system :)
anyway thanks all for your investigations.
xav
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Hello,
> what is the output of running "locale" in a console?
# locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_F
On 30 mar, 14:15, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> what is the output of running "locale" in a console?
gabor,
Your are right ! I remaoved my DEFAULT_CHARSET = 'iso8859-15' from my
settings. Created a view to render a newform created form and
everything is working find. So this is du