prod setting urlparse syntax error fix