#23078 closed Bug (fixed)
update_contenttypes interactive kwarg will always be False
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | contrib.contenttypes | Version: | 1.7-rc-1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I've been noticing that stale content types are no longer removed during syncdb / migrate. Looking at the master and the c1 branch I've found the problem.
django/contrib/contenttypes/management.py line 63: kwargs.get('interactive', False)
Will always be False due to the function signature which defines kwarg interactive=True.
Change History (10)
comment:1 by , 11 years ago
| Component: | Uncategorized → contrib.contenttypes |
|---|---|
| Easy pickings: | unset |
| Severity: | Normal → Release blocker |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
I added a pr for this: https://github.com/django/django/pull/2942
Edit: God Trac is so fucking dumb..
comment:3 by , 11 years ago
| Needs tests: | set |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:4 by , 11 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → new |
comment:5 by , 11 years ago
| Has patch: | set |
|---|---|
| Needs tests: | unset |
I added some tests, PR here: https://github.com/django/django/pull/2944
comment:6 by , 11 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:7 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The
interactivekwarg was introduced in 00110904ac67050c639f93cfd7b5e19218bcef5b.