Skip to content

Combine __init__ in a single file using Jinja condition statement #13

@pythonhubdev

Description

@pythonhubdev

Instead of having fast__init__.py and flas__init__.py as separate files we can both templates in a single file and make them render based on condition statements that can be had inside jinja files.

Example:

{%if  app_type == ""%}
render flask
{% else %}
render fast
{% endif %}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestnot a bugMark a issues is not a bug

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions