def __init__(self):
        """
        Try and initialize with Django settings.
        """
        self.option_list = parser.option_groups[0].option_list
        # Some constants about the software.
        self["GNOTTY_VERSION"] = __version__
        self["GNOTTY_VERSION_STRING"] = __version_string__
        self["GNOTTY_PROJECT_URL"] = __url__
        try:
            from django.conf import settings
            for k, v in parser.defaults.items():
                self[k] = getattr(settings, "GNOTTY_%s" % k, v)
            self.set_max_message_length()
        except __HOLE__:
            pass
dataset/ETHPy150Open stephenmcd/gnotty/gnotty/conf.py/Settings.__init__