Closed nastasi-oq closed 6 years ago
Add persistent filters (using cookies) surviving to page changes. Tests are running here: https://ci.openquake.org/job/zdevel_oq-platform/472/ Pay attention during installation to config file changes:
--- a/openquakeplatform/openquakeplatform/local_settings.py.template +++ b/openquakeplatform/openquakeplatform/local_settings.py.template @@ -207,8 +207,13 @@ PYCSW = { } } -INSTALLED_APPS = ( +STANDALONE_APPS = ( + 'openquakeplatform_ipt', + 'openquakeplatform_taxtweb', + 'openquakeplatform_building_class', +) +INSTALLED_APPS = ( # Apps bundled with Django 'django.contrib.auth', 'django.contrib.contenttypes', @@ -284,16 +289,11 @@ INSTALLED_APPS = ( 'openquakeplatform.hazus', 'openquakeplatform.hrde', 'openquakeplatform.irv', - - 'openquakeplatform_ipt', - 'openquakeplatform_taxtweb', - 'openquakeplatform_building_class', - +) + STANDALONE_APPS + ( # gemecd 'openquakeplatform.weblib', 'openquakeplatform.econd', 'openquakeplatform.gemecdwebsite', - ) MIDDLEWARE_CLASSES = ( @@ -402,3 +402,5 @@ AVATAR_GRAVATAR_DEFAULT = 'http://ftp.openquake.org/oq-platform/oq-avatar-40.png # For IPT we need a path where store temporary files # FILE_PATH_FIELD_DIRECTORY = 'data/' FILE_PATH_FIELD_DIRECTORY = '%(datadir)s' + +TIME_INVARIANT_OUTPUTS = False
Add persistent filters (using cookies) surviving to page changes. Tests are running here: https://ci.openquake.org/job/zdevel_oq-platform/472/ Pay attention during installation to config file changes: