replace handlebars with jinja
This commit is contained in:
9
templates/model_mod.jinja
Normal file
9
templates/model_mod.jinja
Normal file
@@ -0,0 +1,9 @@
|
||||
{% if config.prelude %}
|
||||
pub mod prelude;
|
||||
{% endif%}
|
||||
{% if entities_path == "super::_entities" %}
|
||||
pub mod _entities;
|
||||
{% endif %}
|
||||
{% for table in tables %}
|
||||
pub mod {{table.name}};
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user