"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
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)

Thanks,

Alois
 
Reply all
Reply to author
Forward
0 new messages