app/soc/views/models/site_settings.py
changeset 452 160c748988a2
parent 446 0b479d573a4c
child 466 ad2908f1646a
equal deleted inserted replaced
451:c79a84c59f42 452:160c748988a2
    90       'list_pagination': 'soc/list/list_pagination.html',
    90       'list_pagination': 'soc/list/list_pagination.html',
    91       'list_row': 'soc/site_settings/list/site_row.html',
    91       'list_row': 'soc/site_settings/list/site_row.html',
    92       'list_heading': 'soc/site_settings/list/site_heading.html',
    92       'list_heading': 'soc/site_settings/list/site_heading.html',
    93     }
    93     }
    94 
    94 
    95     params['delete_redirect'] = 'site/list'
    95     params['delete_redirect'] = '/site/list'
    96     params['create_redirect'] = 'site/edit'
    96     params['create_redirect'] = '/site/edit'
    97 
    97 
    98     params = dicts.merge(original_params, params)
    98     params = dicts.merge(original_params, params)
    99     rights = dicts.merge(original_rights, rights)
    99     rights = dicts.merge(original_rights, rights)
   100 
   100 
   101     home_settings.View.__init__(self, original_rights=rights, original_params=params, stop=True)
   101     home_settings.View.__init__(self, original_rights=rights, original_params=params, stop=True)