Skip to content
Snippets Groups Projects
Commit d65a844a authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

DiskBackedContent: remove the class in favor of a simpler composition approach

Instead of having multiple class and `object_type` value, we just adds
a few lines in the main `model.Content` class to retrieved data on
demand. The `with_data` logic already existed there anyway.

This will avoid having from_disk extending the model from the outside.
parent 02e79499
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment