Re: Problem with serializers

2006-08-04 Thread Seth Buntin
Thanks Jacob. I copied that text off of a webpage and the quotes messed me up. I guess I should have realized that when TextMate didn't color them correctly. Seth Jacob Kaplan-Moss wrote: > On Aug 4, 2006, at 12:05 PM, Seth Buntin wrote: > > DeprecationWarning: Non-ASCII character '\xe2' in f

Re: Problem with serializers

2006-08-04 Thread Jacob Kaplan-Moss
On Aug 4, 2006, at 12:05 PM, Seth Buntin wrote: > DeprecationWarning: Non-ASCII character '\xe2' in file > /Users/sethbuntin/django_projects/kate/tick/ajax_views.py on line 6, > but no encoding declared; see http://www.python.org/peps/pep-0263.html > for details > return getattr(__import__(mod_n

Re: Problem with serializers

2006-08-04 Thread Seth Buntin
I just realized that I am also getting an error in my console: /Users/sethbuntin/django_src/django/core/urlresolvers.py:118: DeprecationWarning: Non-ASCII character '\xe2' in file /Users/sethbuntin/django_projects/kate/tick/ajax_views.py on line 6, but no encoding declared; see http://www.python.

Problem with serializers

2006-08-04 Thread Seth Buntin
Here is my setup ajax_views.py: from django.core import serializers def subfocus(request): data = serializers.serialize("xml", SubFocus.objects.all()) return HttpResponse(data, mimetype="text/javascript") urls.py: (r'^tick/ajax/subfocus', 'kate.tick.ajax_views.subfocus'), W