from oshipka.persistance import db, ModelController, index_service [%- if imports %] [%- for import in imports %] [[ import ]] [%- endfor %] [%- endif %] [%- if type == 'm_n' %] [% include "_model_m_n_py" %] [%- else %] [% include "_model_py" %] [%- endif %] [%- if searchable %] index_service.searchables.append([[ name ]]) [%- endif %]