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

Consolidate all the various models into 1 model #10

Open
ryanmerolle opened this issue Jul 24, 2022 · 1 comment
Open

Consolidate all the various models into 1 model #10

ryanmerolle opened this issue Jul 24, 2022 · 1 comment

Comments

@ryanmerolle
Copy link

It would be nice to convert all the various models into 1 model called documents. Then you would just need to "activate" new model relationships as you see fit instead of creating a new model for each model you want to add documents to.

I do something similar in my unreleased plugin, which @DanSheps pointed me to.

Adding documents to new models would just require an updated to the constants and a new GenericRelation.

When I get some down time, I'd be able to help.

@maciejopalinski
Copy link

this needs more attention, this single feature would fix most of the open issues

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

No branches or pull requests

2 participants