Open prowler0305 opened 2 years ago
Hello, I also just stubmled across this solution and am receiving the same error in the exact same manner, that the value as seen in this code snippet is undefined:
{{ cookiecutter.update({ "model_name": model_name }) }}
Did you ever find a solution to this issue?
Hello,
I ran across your suggestion on solving the cookiecutter
pre_gen
hook script context update solution. I have read you README.md stuff and tried to implement it but only get exceptions of 'Undefined' in the template type errors.I'm hoping maybe you could fill in the blanks of what I'm doing wrong?
pre_gen_project.py
cookiecutter.json
Contents of the file that is using the
database_dialect
variableconfig.py
The output of running my cookiecutter template