Test 2
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"project_slug": "sample",
|
||||
"foo": "bar"
|
||||
"use_database": true,
|
||||
"use_cache": true
|
||||
}
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
|
||||
print("{{cookiecutter.project_slug}}")
|
||||
|
||||
{% if cookiecutter.foo == "bar" %}
|
||||
print("{{cookiecutter.foo}}")
|
||||
{% if cookiecutter.use_database %}
|
||||
print("Framework will use database")
|
||||
{% else %}
|
||||
# print("{{cookiecutter.foo}}")
|
||||
print("Framework will not use database")
|
||||
{% endif %}
|
||||
|
||||
{% if cookiecutter.use_cache %}
|
||||
print("Framework will use cache")
|
||||
{% else %}
|
||||
print("Framework will not use cache")
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user