code: def for_model(self, model, **kwargs):
          
          queryset = self.filter(
              content_types=ContentType.objects.get_for_model(model),
              **kwargs
          )
          return queryset
docs: Return layouts that are allowed for the given model.