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

How to describe restrictions of product? #242

Open
mihalt opened this issue Aug 6, 2024 · 0 comments
Open

How to describe restrictions of product? #242

mihalt opened this issue Aug 6, 2024 · 0 comments

Comments

@mihalt
Copy link

mihalt commented Aug 6, 2024

For example, I have products that have not just a few global regions included (like EU, Asia etc), but generally that has all regions indluded except any specific countries excluded (like global region except EU). So, should I probably have additional field excluded_regions and probably to custom model from Continent? Do you think that it is good idea?

Should I use this inheritance as swappable model then, right? Will all features of Continent be saved if I just add a few addtional fields?

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

1 participant