django-contentrelations 0.3.1 documentation
Use pip to install the package:
pip install django-contentrelations
Add contentrelations to your INSTALLED_APPS:
INSTALLED_APPS = (
# ...
'contentrelations',
)
You have a bunch of models that store data, let’s say an Image model, an Article model and DownloadableFile model. You want to use them together and in the same way, but you have a problem: none of the models’ attributes are named the same! This is a nightmare! That’s where a Resource comes in. A Resource is a wrapper around a model to provide a consistent interface.
Next see Creating a Resource