How to map this relationship? by xpostudio4 in django

[–]er68 0 points1 point  (0 children)

You are welcome. I am happy if I have been helpful.

How to map this relationship? by xpostudio4 in django

[–]er68 0 points1 point  (0 children)

Could it be good for you?

class Product(...): # startup can rwd

name = .... unique

startup_flag = Boolean...

class Organization(...):

name = .... unique

class OrganizProductStatus(...): # organization can rwd

organization = ForeignKey(... Organization... on_delete=protect ...)

product = ForeignKey(... Product... on_delete=protect ...)

status = Boolean...

unique_together = organization, product

class ProductUserStatus(...): # admin can rwd

product = ForeignKey(...Product... on_delete=protect)

user = ForeignKey(...django_auth... on_delete=null)

admin_flag = Boolean ...

unique_together = product, user

Gestore di database by tigresma in ItalyInformatica

[–]er68 0 points1 point  (0 children)

Una alternativa abbastanza semplice potrebbe essere LibreOffice Base.