def get_settings(editor_override=None):
flavor = getattr(settings, "<STR_LIT>", "<STR_LIT>")<EOL>if editor_override is not None:<EOL><INDENT>flavor = editor_override<EOL><DEDENT>return {<EOL>"<STR_LIT>": getattr(settings, "<STR_LIT>", urljoin(settings.STATIC_URL, flavor) + '<STR_LIT:/>'),<EOL>"<STR_LIT>":    flavor,<EOL>}<EOL>
Utility function to retrieve settings.py values with defaults