<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_for_model(self, model):
 """ Return a QuerySet of only items of a certain type. """

        return self.filter(content_type=ContentType.objects.get_for_model(model))