def _get_django_objects(model):
model_name = model.__class__.__name__<EOL>model_objects = [i for i in model.objects.all()]<EOL>logger.debug('<STR_LIT>'.format(len(model_objects), model_name))<EOL>return model_objects<EOL>
Given a Django model class get all of the current records that match.
This is better than django's bulk methods and has no upper limit.