Closed FiazAbrar closed 2 years ago
currently its a generic foreign key. But what if we do a foreign key in every type of product?
https://lukeplant.me.uk/blog/posts/avoid-django-genericforeignkey/
https://django-polymorphic.readthedocs.io/en/stable/quickstart.html
https://adamj.eu/tech/2020/03/25/django-check-constraints-one-field-set/
completed for now in 462c76d2e1fc19252af47a90d363c40c696e2b27
currently its a generic foreign key. But what if we do a foreign key in every type of product?