Révision fd36f89b
Ajouté par Frédéric Péters il y a plus d'un an
auquotidien/modules/root.py | ||
---|---|---|
260 | 260 |
def _q_traverse(self, path): |
261 | 261 |
self.feed_substitution_parts() |
262 | 262 |
|
263 |
# set app_label to Publik if none was specified (this is used in |
|
264 |
# backoffice header top line) |
|
265 |
if not get_publisher().get_site_option('app_label'): |
|
266 |
if not get_publisher().site_options.has_section('options'): |
|
267 |
get_publisher().site_options.add_section('options') |
|
268 |
get_publisher().site_options.set('options', 'app_label', 'Publik') |
|
269 |
|
|
270 | 263 |
response = get_response() |
271 | 264 |
if not hasattr(response, 'filter'): |
272 | 265 |
response.filter = {} |
Formats disponibles : Unified diff
trivial: remove code to set "publik" as app label (now the default) (#72000)