misc/migration/3.21.1_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 01 Jun 2016 15:17:09 +0200
changeset 11296 5153f6fd478e
parent 10553 1d824df4f2bd
permissions -rw-r--r--
Define BASE_URL and DATA_URL js variables in the login template. Closes #13385185 Those are expected to be defined in almost every js files. They were not before this patch because login form doesn't use the regular main template.

# re-read ComputedRelation permissions from schema.py now that we're
# able to serialize them
for computedrtype in schema.iter_computed_relations():
    sync_schema_props_perms(computedrtype.type)