oshipka/vm_gen/templates/model_py
2020-06-04 15:24:18 +02:00

13 lines
253 B
Plaintext

from oshipka.persistance import db, ModelController
[%- if imports %]
[%- for import in imports %]
[[ import ]]
[%- endfor %]
[%- endif %]
[%- if type == 'm_n' %]
[% include "_model_m_n_py" %]
[%- else %]
[% include "_model_py" %]
[%- endif %]