Re: [Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-07 Thread Andy McKay
On 2011-05-04, at 4:44 AM, Aragorn wrote: > File "/home/max/public_html/examplesite.com/django/dbe/blog/ > models.py", line 44, in save > self.body) You told us lots of stuff, including the save method, but since we don't know line numbers, which one is line 44? > UnicodeDecodeError: 'ascii'

Re: [Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-04 Thread Xavier Ordoquy
Hi, Have you tried the development server (runserver) on the computer that runs the wsgy ? What LANG does apache declares (/etc/apache/envvars) ? How much of the body do you change in the save function ? Xavier. Le 4 mai 2011 à 15:16, Massimo a écrit : > Yes, I get an email when someone writes

Re: [Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-04 Thread Massimo
Yes, I get an email when someone writes a comment. (Sorry but I do not speak English). If I run with "python manage.py runserver" the email arrives well, if run with apache wsgy the result is the error ! 2011/5/4 Xavier Ordoquy > > Le 4 mai 2011 à 13:44, Aragorn a écrit : > > > HI, > > > > I ca

Re: [Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-04 Thread Xavier Ordoquy
Le 4 mai 2011 à 13:44, Aragorn a écrit : > HI, > > I can not understand where is the error. when you insert a > blog comment I receive an email, but this' > the email I receive ! Hi, I noticed you have overridden the save method. Could you tell us more about what you are doing the that method

Re: [Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-04 Thread David Markey
What is your database? On 4 May 2011 12:44, Aragorn wrote: > HI, > > I can not understand where is the error. when you insert a > blog comment I receive an email, but this' > the email I receive ! > > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/django/

[Django] Error (EXTERNAL IP): /add_comment/10/

2011-05-04 Thread Aragorn
HI, I can not understand where is the error. when you insert a blog comment I receive an email, but this' the email I receive ! Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ base.py", line 100, in get_response response = callback(reque