class MyManager(models.Manager.from_queryset(MyQuerySet)):
use_for_related_fields = True
or
class MyModel(models.Model):
objects = MyQuerySet.as_manager()
objects.use_for_related_fields = True
After all, as_manager() calls from_queryset() internally.
I don't think a class attribute on the QS class makes much sense since as_manager() would be the only place where it is used. An argument to as_manager() would make more sense to me, though I'm not convinced this is really that much of an improvement.
From the two suggested solutions above, I'd tend to use the first one.
/Markus