Re: remove_stale_contenttypes doesn't remove entries for renamed apps.

2019-12-31 Thread gowtham kommineni
Hi Adam Please link to the ticket here. > ticket: https://code.djangoproject.com/ticket/31123 PR: https://github.com/django/django/pull/12257 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscrib

remove_stale_contenttypes doesn't remove entries for renamed apps.

2019-12-31 Thread gowtham kommineni
Currently, it only removes content types in scenarios where you either rename a model or delete a model. If I rename an App from "app_label1" to "app_label2", it doesn't delete content types for "app_label1" and this is causing issues where I use ContentType as a GenericForeignKey. After I rena