I\'m in a situation where I must output a quite large list of objects by a CharField used to store street addresses.
My problem is, that obviously the data is ordere
Great tip! It works for me! :) That's my code:
revisioned_objects = revisioned_objects.extra(select={'casted_object_id': 'CAST(object_id AS INTEGER)'}).extra(order_by = ['casted_object_id'])