#31123: Add option to remove_stale_contenttypes to remove entries for
nonexistent
apps.
-------------------------------------+-------------------------------------
Reporter: Gowtham Kommineni | Owner: Gowtham
| Kommineni
Type: New feature | Status: closed
Component: | Version: dev
contrib.contenttypes |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"8b229b4dbb6db08428348aeb7e5a536b64cf8ed8" 8b229b4d]:
{{{#!CommitTicketReference repository=""
revision="8b229b4dbb6db08428348aeb7e5a536b64cf8ed8"
Refs #31123 -- Simplified create_contentypes().
Since 142ab6846ac09d6d401e26fc8b6b988a583ac0f5
get_contenttypes_and_models() function was only used in this module and
we only needed the model names, not the content type objects themselves.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31123#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198b670437a-17aa7e0b-6372-43b0-b12b-dc525afe54b9-000000%40eu-central-1.amazonses.com.