The code_generator plugin is an application-level plugin used to generate general business code. To configure it, you must update two files:
plugin.toml: Add the configuration under the [settings] section in the plugin directory.backend/core/conf.py: Add the corresponding type hint to the configuration class to ensure the backend recognizes the setting.
Warning: Generated code is written directly to the disk. This plugin should only be used in development environments.
# In plugin/plugin.toml
[settings]
CODE_GENERATOR_DOWNLOAD_ZIP_FILENAME = 'fba_generator'
# In backend/core/conf.py
##################################################
# [ Plugin ] code_generator
##################################################
CODE_GENERATOR_DOWNLOAD_ZIP_FILENAME: str