Commits

and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed b801cb8

Bad delete_column

  • Participants
  • Parent commits 10ddc1b

Comments (0)

Files changed (1)

File db/generic.py

         Deletes the column 'column_name' from the table 'table_name'.
         """
         qn = connection.ops.quote_name
-        params = (qn(table_name), qn(column_name))
+        params = (qn(table_name), qn(name))
         return ['ALTER TABLE %s DROP COLUMN %s CASCADE;' % params]