Opened 9 years ago
Closed 9 years ago
#26950 closed Cleanup/optimization (fixed)
Removed unused DatabaseOperations methods
| Reported by: | Tim Graham | Owned by: | Anderson Resende |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Grep for each method in django/django/db/backends/base/operations.py, and if it's unused, remove it from there as well as from the database backends that implement it. For example, drop_foreignkey_sql and drop_sequence_sql both appear to be unused.
Change History (4)
comment:1 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
That method will be removed in Django 2.0 as per the deprecation warning.
Note:
See TracTickets
for help on using tickets.
The method
check_aggregate_supportis not used anymore. Is deprecated. But is at documentation. Should I remove?