misc/migration/3.7.5_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 04 Nov 2013 16:06:06 +0100
changeset 9378 4a668dcfa0a0
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
[views/templates] provide a modal main template (closes #3274672) The current NonTemplatableViewTemplate may seem to provide the desired feature if a '__notemplate' is provided in the form, unfortunately, it: * wraps the view in a spurious div * calls view.set_stream(), which has the effect of wiping any js/css resource recorded until then by the view, leading to hard-to-track missing resources symptoms

if versions_map['cubicweb'][0] == (3, 7, 4):
    config['http-session-time'] *= 60
    config['cleanup-session-time'] *= 60
    config['cleanup-anonymous-session-time'] *= 60