Opened 7 years ago

Closed 7 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


While updating my project to 1.11 I ran into an issue with update_contenttypes method.

from 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:

Change History (1)

comment:1 by Tim Graham, 7 years ago

Resolution: wontfix
Status: newclosed
Summary: update_contenttypes deprecated?Document rename of update_contenttypes()
Type: UncategorizedCleanup/optimization

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.

Note: See TracTickets for help on using tickets.
Back to Top