Merge pull request #769 from SchrodingersGat/migration-ixes
Bug fix for custom migration
This commit is contained in:
commit
68bbb372dc
|
|
@ -95,7 +95,7 @@ def associate_manufacturers(apps, schema_editor):
|
||||||
|
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
response = cursor.execute(query)
|
response = cursor.execute(query)
|
||||||
row = response.fetchone()
|
row = cursor.fetchone()
|
||||||
|
|
||||||
if len(row) > 0:
|
if len(row) > 0:
|
||||||
return row[0]
|
return row[0]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue