Ticket #790 (closed defect: fixed)
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.

Thanks, pulled.