Re: How to change the representation of newline?

2006-12-14 Thread zhongke chen
encoding in your firefox settings is set > wrongly? > > You can always override admin templates copying them into your > custom_templates/admin directory. > > Regards, > Aidas Bendoraitis > > > > On 12/14/06, zhongke chen <[EMAIL PROTECTED]> wrote: > >

Re: How to change the representation of newline?

2006-12-14 Thread zhongke chen
/13/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote: > It might be that it treats new lines as \r\n when you are using some > windows-* encoding for your html pages. Check the source code. I would > rather use UTF-8 in any case. > > Regards > Aidas Bendoraitis [aka Archatas] &

Re: How to change the representation of newline?

2006-12-13 Thread zhongke chen
> self.body_text = self.body_text.replace("\r", "\n"). > super(MyModel, self).save() > > Good luck! > Aidas Bendoraitis [aka Archatas] > > > > On 12/10/06, zhongke chen <[EMAIL PROTECTED]> wrote: > > When I input

How to change the representation of newline?

2006-12-09 Thread zhongke chen
representation of newline? -- Yours, Zhongke Chen 陈忠克 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

Re: a conflict between django and php4

2006-09-18 Thread zhongke chen
Thanks! i solve this by removing libmhash package. but it's only a workaround solution. i expect to see a perfect one. On 9/19/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2006-09-19 at 12:52 +0800, zhongke chen wrote: > > Not the same problem. > >

Re: a conflict between django and php4

2006-09-18 Thread zhongke chen
Not the same problem. if i enable php4, and i do not log in under django, my django app works too. if i log in, error occurs. On 9/19/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > On 9/18/06, zhongke chen <[EMAIL PROTECTED]> wrote: > > > > i'm using dja

a conflict between django and php4

2006-09-18 Thread zhongke chen
i'm using django with apache2. if i disable php4 module of apache2(using a2dismod php4), my django application runs well. if i enable php4 module and log a user in, my django application gives the following error message: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread zhongke chen
^ekipS <[EMAIL PROTECTED]> wrote: > > Hi, chen. > I got the same problems after updating my system. > Just re-install MySQLdb-python modules. > > > zhongke chen wrote: > > After upgrade mysql from 5.0.22 to 5.0.24, django cannot work with > > mysql. The error mes

django cannot connect to mysql after upgrade

2006-08-21 Thread zhongke chen
After upgrade mysql from 5.0.22 to 5.0.24, django cannot work with mysql. The error messages as following: Traceback (most recent call last): File "./manage.py", line 11, in ? execute_manager(settings) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/management.py"