CREATION_BY_TEMPLATE changed to CREATION_BY_CODE
Merge pull request #2490 from spillevink/bugfix/creation_by_code_typo

CREATION_BY_TEMPLATE changed to CREATION_BY_CODE