'Whether to prepopulate the database &, if so, which set of data to use for this'

def get_base_prepopulate(self):

    base = self.base
    setting = base.get('prepopulate', 1)
    if setting:
        options = base.get('prepopulate_options')
        return self.resolve_profile(options, setting)
    else:
        return 0
