[Answer]-Building Custom Extentable Models

1👍

What you could do is define a model with just key-value fields (and may be type) and have M2M or foreignkey relationship with client model.

Something like this:

class Client(Model):
  ...

class UserAttribues(Model):
   key = Model.CharField()
   value = Model.CharField()
   client = Model.ManyToManyField(Client)

With this you can add any key-value information to a client object and any number of them.

👤Rohan

Leave a comment