Hi,

I've recently noticed that I'm getting the following in my Apache
error log...

DeprecationWarning: Non-ASCII character '\xc2' in file /var/www/django/
newsite/web/models.py on line 101, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details

Line 101 in my models.py file contains...

price_per_week = models.CharField(max_length=100, blank=True,
help_text="Calculate average price <strong>per week</strong>.  Include
<strong>£</strong> prefix.<br />Example: <strong>\"£150\"</strong>,
<strong>\"£300-£320\"</strong>, <strong>\"£100+\"</strong>")

I'm guessing it's something to do with the help_text, specifically the
£ symbol.

Can anybody shed some light on how I can fix this, presumably I need
to declare an encoding, or there is an encoding mismatch going on
somewhere?

Thanks,
Nick


--~--~---------~--~----~------------~-------~--~----~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to