Made table_names() output sorted. #16

Merged
merged 1 commit into from Apr 29, 2012

Projects

None yet

2 participants

@akaariai
Member

Fixed #18218 -- previously Django's introspection table_names() and
get_table_list() methods did not sort the output consistently. This
resulted in random order of inspected models.

This commit also removed all external usages of get_table_list().
table_names() should be used instead.

Thanks to claudep for patch and report.

@akaariai akaariai Made table_names() output sorted.
Fixed #18218 -- previously Django's introspection table_names() and
get_table_list() methods did not sort the output consistently. This
resulted in random order of inspected models.

This commit also removed all external usages of get_table_list().
table_names() should be used instead.

Thanks to claudep for patch and report.
527cce8
@adrianholovaty

Looking good -- thanks for the patch!

@adrianholovaty adrianholovaty merged commit 97c8992 into django:master Apr 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment