Ensure spaces etc. in Django code.