Every Django model has a default primary-key id
created automatically. I want the model objects to have another attribute big_id
which is calculated as:
big_id = id * SOME_CONSTANT
I want to access big_id
as model_obj.big_id
without the corresponding database table having a column called big_id
.
Is this possible?