Ticket #790 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Oracle backend is broken after 16016 revision of django

Reported by: Nikolay Zakharov <nikolay@…> Owned by: andrew
Priority: major Milestone:
Component: databaseapi Version: unknown
Keywords: Cc:


This changeset in django breaks current oracle backend: https://code.djangoproject.com/changeset/16016/django/trunk/django/db/backends/oracle/base.py

Significant part there is transfer of get_sequence_name code from module-level function to the DatabaseOperations._get_sequence_name method. South use this function for table deletion to delete (surprise!) sequences that have been auto-generated by AutoField fields.

After r16016 south will complain with ImportError. Patch that deals with ImportError and use method or function depends on the exception: https://bitbucket.org/freevoid/south/changeset/29c5aac88a2c. I will put that patch in the pull request.

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed

Thanks, pulled.

Note: See TracTickets for help on using tickets.