Version 1 (modified by anubhav, 13 years ago) ( diff )


Reducing Redundant Code in and 000_config

There has to be a file that will run before s3cfg or even 000_config . So it can be used in init only if there is no 000_config in the models(i.e for the first time)

Initialy in

class S3Config(Storage):

    Deployment Settings Helper Class


    def __init__(self, T):
        self.auth = Storage()
        self.base = Storage()
        self.database = Storage()
        self.gis = Storage()
        self.mail = Storage()
        self.twitter = Storage()
        self.L10n = Storage()
        self.osm = Storage() = Storage()
        self.ui = Storage()
        self.T = T

Note: See TracWiki for help on using the wiki.