Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove one of the last traces of South

  • Loading branch information...
commit d146b250aecd7adb13ad7b998cc60cc3a10fd0b6 1 parent 3a338d0
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/
2  django/db/backends/
@@ -607,7 +607,7 @@ def _create_index_name(self, model, column_names, suffix=""):
'%s_%s' % (model._meta.db_table, BaseDatabaseCreation._digest(column_names[0])),
- # Else generate the name for the index by South
+ # Else generate the name for the index using a different algorithm
table_name = model._meta.db_table.replace('"', '').replace('.', '_')
index_unique_name = '_%x' % abs(hash((table_name, ','.join(column_names))))
# If the index name is too long, truncate it
Please sign in to comment.
Something went wrong with that request. Please try again.