Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load plugins for collectstatic #4077

Merged
merged 1 commit into from
Dec 18, 2022

Conversation

wolflu05
Copy link
Contributor

@wolflu05 wolflu05 commented Dec 17, 2022

Hello,

this PR changes the loading mechanism of the plugins so that they are loaded if they are activated and collectstatic is executed. Otherwise plugins are not able to expose static files. This was already added for database migrations in #3762 .

Ref: #4020

@SchrodingersGat SchrodingersGat added the plugin Plugin ecosystem label Dec 18, 2022
@SchrodingersGat SchrodingersGat added this to the 0.9.1 milestone Dec 18, 2022
@SchrodingersGat
Copy link
Member

@wolflu05 thanks for the fix :)

@SchrodingersGat SchrodingersGat merged commit 1d411b2 into inventree:master Dec 18, 2022
SchrodingersGat pushed a commit to SchrodingersGat/InvenTree that referenced this pull request Dec 18, 2022
SchrodingersGat added a commit that referenced this pull request Dec 19, 2022
(cherry picked from commit 1d411b2)

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
@wolflu05 wolflu05 deleted the fix/plugin-collectstatic branch February 15, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin Plugin ecosystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants