"Auto escape" of backslash caracters in amdin field/forms
11 views
Skip to first unread message
alois.g...@gmail.com
unread,
Jan 20, 2014, 10:36:21 AM1/20/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi all,
I am currently porting a big project from django 1.3 to 1.5. One of the original developpers created a custom validator in the admin in order to avoid certain unicode caracters. One test in the test suite is supposed to fail as it gives as input "blabla \x07 blabla". But it seems that Django automatically cleaned the input as the string which is given to the validator has its backslash escaped ("blabla \x07 blabla").
Does someone know where this clean-up could come from ? (its a text field)