WebFaction
Community site: login faq

I have a django site which is working fine on the development server on my computer. There is a part of the site where I send an AJAX request containing a list of names back to the server. These names often contain characters such as \xe1. The names are processed by a view. However when I upload the site to my webfaction server it seems to do something to the names in the AJAX request so that they are escaped and appear as e.g. \xe1 instead.

Does anyone know why this might be? Is there some setting that could be different between my django and webfactions? Or my python and webfactions?

asked 16 Mar '15, 18:30

lcaldwell
112
accept rate: 0%


Are you using identical versions of python and Django in both environments?

What about the OS of your local environment?

permanent link

answered 17 Mar '15, 01:29

johns
5.4k412
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×113
×7

question asked: 16 Mar '15, 18:30

question was seen: 1,763 times

last updated: 17 Mar '15, 01:29

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM