Changes between Initial Version and Version 1 of Ticket #27365, comment 6
- Timestamp:
- Nov 7, 2016, 10:58:39 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27365, comment 6
initial v1 1 Yes we do actually use {{{__import__}}}. We are bringing models and views dynamically. Like this:1 Yes we do actually use {{{__import__}}}. We are bringing in models and views dynamically. Like this: 2 2 {{{ 3 __import__("workpath.workflow.cases.%s.views" % c t, fromlist=["workpath.workflow.cases"])3 __import__("workpath.workflow.cases.%s.views" % casetype, fromlist=["workpath.workflow.cases"]) 4 4 }}} 5 5 and 6 6 {{{ 7 __import__("workpath.workflow.cases.%s.models" % c t, fromlist=["workpath.workflow.cases"])7 __import__("workpath.workflow.cases.%s.models" % casetype, fromlist=["workpath.workflow.cases"]) 8 8 }}} 9 9