I'd try to build a more informative name, using also the queryset_class's name; `("%sFrom%s" % (cls.__name__,queryset_class.__name__))` seems reasonable. True, normally you won't see the class name in code, but it will be helpful in tracebacks and Django debug screens where locals are printed.