Skip to content

fix(generate_plugin.py): instantiate PluginConfig object when assigning to plugin_config#21

Merged
ehmatthes merged 1 commit into
django-simple-deploy:mainfrom
mabdullahabid:fix-pluginconf-init
Aug 13, 2025
Merged

fix(generate_plugin.py): instantiate PluginConfig object when assigning to plugin_config#21
ehmatthes merged 1 commit into
django-simple-deploy:mainfrom
mabdullahabid:fix-pluginconf-init

Conversation

@mabdullahabid

Copy link
Copy Markdown
Contributor

The code was incorrectly assigning the class PluginConfig itself instead of creating an instance. Instantiating PluginConfig with parentheses fixes the error and ensures that plugin_config is a proper object for further processing in the script.

…ng to plugin_config

The code was incorrectly assigning the class PluginConfig itself instead of creating an instance. Instantiating PluginConfig with parentheses fixes the error and ensures that plugin_config is a proper object for further processing in the script.
@ehmatthes ehmatthes merged commit af8f5e7 into django-simple-deploy:main Aug 13, 2025
1 check passed
@ehmatthes ehmatthes mentioned this pull request Aug 13, 2025
22 tasks
@ehmatthes

Copy link
Copy Markdown
Member

Great! Thanks for catching this. I think my tests are not using the cli yet, so this was missed.

Are you trying to write a plugin? How did you come across this error?

@ehmatthes ehmatthes mentioned this pull request Sep 18, 2025
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants