def get_queryset(self):
        query_set = super(MediaFileManager, self).get_queryset().exclude(
            status=MEDIA_STATUS.deleted
        )
        return query_set.select_subclasses()
Returns the subclasses of the MediaFiles; i.e. ImageFile or VideoFile
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/managers.py/MediaFileManager.get_queryset