UnnameableOrderingTermError
Overview
An ordering term model_ordering can't report under a single field name.
Every name in model_ordering is a name a client sends back in ?o=, so a term has to reference exactly one field to be reported. An expression built on no column (Now(), Random()) has no name to report, and one built on several (Concat("first_name", "last_name")) has no single name that stands for the sort it performs — listing both would say the rows arrive sorted by the first and then the second, which is not what such an expression does.
Raised by ModelInfoSerializer.get_ordering_data and handled where ordering metadata is assembled, alongside the paths that resolve to no field at all.
weakref {#weakref}
list of weak references to the object
Source
server/vueda/info/serializers.py:58