Opened 8 years ago
Closed 8 years ago
#28092 closed Cleanup/optimization (wontfix)
Document rename of update_contenttypes()
Reported by: | Tatu Wikman | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.11 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
While updating my project to 1.11 I ran into an issue with update_contenttypes method.
from django.contrib.contenttypes.management import update_contenttypes ImportError: cannot import name 'update_contenttypes'
The release notes don't have any mention of this method being removed (or renamed to create_contenttypes).
Would probably be good to have a mention about this here: https://docs.djangoproject.com/en/1.11/releases/1.11/#django-contrib-contenttypes
Change History (1)
comment:1 by , 8 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Summary: | update_contenttypes deprecated? → Document rename of update_contenttypes() |
Type: | Uncategorized → Cleanup/optimization |
Note:
See TracTickets
for help on using tickets.
That function isn't a documented, public API, hence it's subject to change without a mention in the release notes.
The relevant commit is 6a2af01452966d10155b720f4f5e7b09c7e3e419.