reverse method quotes arguments in django 1.6
setup_environ is no longer available in django 1.6

Script forgotten in 25faafaf777