Import force_bytes and force_text from Django codebase to fix repr calls with special characters