Changes between Initial Version and Version 1 of Ticket #27365, comment 6


Ignore:
Timestamp:
Nov 7, 2016, 10:58:39 AM (7 years ago)
Author:
Brandon

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:
     1Yes we do actually use {{{__import__}}}. We are bringing in models and views dynamically. Like this:
    22{{{
    3 __import__("workpath.workflow.cases.%s.views" % ct, fromlist=["workpath.workflow.cases"])
     3__import__("workpath.workflow.cases.%s.views" % casetype, fromlist=["workpath.workflow.cases"])
    44}}}
    55and
    66{{{
    7 __import__("workpath.workflow.cases.%s.models" % ct, fromlist=["workpath.workflow.cases"])
     7__import__("workpath.workflow.cases.%s.models" % casetype, fromlist=["workpath.workflow.cases"])
    88}}}
    99
Back to Top