According to Django document [1], a custom filter needs to be placed under $INSTALLED_APPS/templatetags. parse_isotime is placed in horizon/utils/filters.py. parse_isotime is decorated with @register.filter, but it seems not to work for sahara-dashboard.
What is a right solution? I add horizon to an affected project to gather more attraction from horizon team. [1] https://docs.djangoproject.com/en/dev/howto/custom-template-tags/ ** Also affects: horizon Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1551009 Title: dashboard: Invalid template Invalid filter: 'parse_isotime' Status in OpenStack Dashboard (Horizon): New Status in Sahara: New Bug description: When running "python manage.py compress --force" in an environment where sahara-dasahboard is enabled, the following error message is shown. This bug is about 'parse_isotime'. Note that bug 1551006 is about Could not parse the remainder: '{{' from '{{' because the cause seems different. $ DJANGO_SETTINGS_MODULE=openstack_dashboard.settings python manage.py compress --force Invalid template /opt/stack/sahara-dashboard/sahara_dashboard/content/data_processing/jobs/templates/job_templates/_details.html: Invalid filter: 'parse_isotime' Invalid template /opt/stack/sahara-dashboard/sahara_dashboard/content/data_processing/clusters/templates/cluster_templates/create.html: Could not parse the remainder: '{{' from '{{' Invalid template /opt/stack/sahara-dashboard/sahara_dashboard/content/data_processing/clusters/templates/nodegroup_templates/create.html: Could not parse the remainder: '{{' from '{{' Invalid template /opt/stack/sahara-dashboard/sahara_dashboard/content/data_processing/jobs/templates/job_binaries/_details.html: Invalid filter: 'parse_isotime' Found 'compress' tags in: /opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html /opt/stack/horizon/openstack_dashboard/templates/horizon/_conf.html /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html Compressing... done Compressed 5 block(s) from 3 template(s) for 2 context(s). To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1551009/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

