def require_setting(self, name, feature="<STR_LIT>"):
if name not in self.settings:<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>"<STR_LIT>" % (name, feature))<EOL><DEDENT>
Raises an exception if the given app setting is not defined.