So am currently writing a simple settings page for a project... and so this is what the page looks like:
class Settings(object): def _init_(self): s