Modify ↓
Ticket #119 (closed enhancement: fixed)
Add remove_foreign_key
| Reported by: | morrowa@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | databaseapi | Version: | 0.6-pre |
| Keywords: | foreign_key | Cc: |
Description
I migrated a table and changed a ForeignKey? to a GenericForeignKey?. As a result, I needed to manually drop the ForeignKey? constraint. I've added a method to db.generic to drop foreign key constraints a specific column. Attached is a patch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Patch to add delete_foreign_key method to db.generic