Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
models: change Message.get_mbox() into a property
In order to use a CharField instead of a SerializerMethodField (which is read-only and gets in the way when adding POST support), turn the Message object's get_"mbox()" method into a property that can be simply used like "msg.mbox". In order to free the "mbox" name, all the existing occurrences are changed to mbox_blob. Message-Id: <20180508115051.60844-2-shubhamjain7495@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information