equal
deleted
inserted
replaced
119 params['create_form'] = CreateForm |
119 params['create_form'] = CreateForm |
120 |
120 |
121 # TODO(tlarsen): Add support for Django style template lookup |
121 # TODO(tlarsen): Add support for Django style template lookup |
122 params['edit_template'] = 'soc/sponsor/edit.html' |
122 params['edit_template'] = 'soc/sponsor/edit.html' |
123 params['public_template'] = 'soc/group/public.html' |
123 params['public_template'] = 'soc/group/public.html' |
124 params['list_template'] = 'soc/models/list.html' |
|
125 |
124 |
126 params['lists_template'] = { |
125 params['list_row'] = 'soc/group/list/group_row.html' |
127 'list_main': 'soc/list/list_main.html', |
126 params['list_heading'] = 'soc/group/list/group_heading.html' |
128 'list_pagination': 'soc/list/list_pagination.html', |
127 |
129 'list_row': 'soc/group/list/group_row.html', |
|
130 'list_heading': 'soc/group/list/group_heading.html', |
|
131 } |
|
132 |
|
133 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
128 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
134 |
129 |
135 params = dicts.merge(original_params, params) |
130 params = dicts.merge(original_params, params) |
136 |
131 |
137 base.View.__init__(self, params=params) |
132 base.View.__init__(self, params=params) |