392 | | (backend.quote_name(ordered_obj.db_table), backend.quote_name('_order'), |
393 | | backend.quote_name(ordered_obj.order_with_respect_to.column), |
394 | | backend.quote_name(ordered_obj.pk.column)) |
395 | | rel_val = getattr(self, ordered_obj.order_with_respect_to.rel.field_name) |
| 392 | (backend.quote_name(ordered_obj._meta.db_table), backend.quote_name('_order'), |
| 393 | backend.quote_name(ordered_obj._meta.order_with_respect_to.column), |
| 394 | backend.quote_name(ordered_obj._meta.pk.column)) |
| 395 | rel_val = getattr(self, ordered_obj._meta.order_with_respect_to.rel.field_name) |