human
Complete this python program:
def config(settings):
assistant
#Here is the Python code you requested.

    """STDM: Social Tenure Domain Model
    http://stdm.gltn.net/
    """
    T = current.T
    settings.base.system_name = T('Social    Tenure    Domain    Model')
    settings.base.system_name_short = T('STDM')
    settings.base.prepopulate += ('STDM', 'default/users', 'STDM/Demo')
    settings.base.theme = 'STDM'
    settings.ui.menu_logo = ('/%s/static/themes/STDM/img/logo.png' % current.request.application)
    settings.security.self_registration = False
    settings.mail.approver = 'ADMIN'
    settings.gis.legend = 'float'
    settings.gis.postcode_selector = False
    settings.gis.simplify_tolerance = 0
    settings.gis.precision = 5
    settings.L10n.languages = OrderedDict([('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('ne', '\xe0\xa4\xa8\xe0\xa5\x87\xe0\xa4\xaa\xe0\xa4\xbe\xe0\xa4\xb2\xe0\xa5\x80'), ('prs', '\xd8\xaf\xd8\xb1\xdb\x8c')])
    settings.L10n.decimal_separator = '.'
    settings.L10n.thousands_separator = ','
    settings.L10n.translate_gis_location = True
    settings.L10n.name_alt_gis_location = True
    settings.pr.request_email = False
    settings.security.policy = 4
    def customise_pr_person_resource(r, tablename):
        s3db = current.s3db
        list_fields = ['first_name', 'middle_name', 'last_name', (T('National    ID'), 'national_id.value'), 'gender', 'date_of_birth', 'person_details.marital_status', (T('Telephone'), 'phone.value'), (T('Address'), 'address.location_id$addr_street')]
        if current.auth.s3_has_role('INFORMAL_SETTLEMENT'):
            list_fields.insert(7, (T('Household    Relation'), 'group_membership.role_id'))
        from s3 import S3LocationSelector, S3SQLCustomForm, S3SQLInlineComponent
        s3db.pr_address.location_id.widget = S3LocationSelector(show_address=True, show_map=False)
        crud_form = S3SQLCustomForm('first_name', 'middle_name', 'last_name', S3SQLInlineComponent('identity', label=T('National    ID'), fields=[('', 'value')], filterby=dict(field='type', options=2), multiple=False), 'gender', 'date_of_birth', 'person_details.marital_status', S3SQLInlineComponent('contact', label=T('Telephone'),...