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 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_name, '', '', ['']), func_name) > > That's your problem right there; you've got a weird character in your > code somewhere. Turn on "Show Invisibles" (or whatever your editor's > equivalent is) and you should see it. > > Oh, and also: > > > data = serializers.serialize("xml", SubFocus.objects.all()) > > return HttpResponse(data, mimetype="text/javascript") > > You're using the XML serializer, but returning a mimetype of "text/ > javascript". One of those is probably wrong. > > Jacob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---