Modify

Ticket #790 (closed defect: fixed)

Opened 3 years ago

Last modified 3 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:

Description

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.

Attachments

Change History

comment:1 Changed 3 years ago by andrew

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

Thanks, pulled.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.