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

fix(generic): only add collections if app is installed #1555

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

b1rger
Copy link
Contributor

@b1rger b1rger commented Jan 27, 2025

Unconditionally importing the SkosCollection class leads to an error, if
the collections app is not enabled. This commit fixes this by using
the app registry to access the model.

Closes: #1554

Unconditionally importing the SkosCollection class leads to an error, if
the `collections` app is not enabled. This commit fixes this by using
the app registry to access the model.

Closes: #1554
@b1rger b1rger marked this pull request as ready for review January 27, 2025 08:15
@b1rger b1rger merged commit a709d33 into main Jan 27, 2025
14 checks passed
@b1rger b1rger deleted the birger/1554-form-collections-check branch January 27, 2025 08:28
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.

Only include collection in model form if collections are enabled
1 participant