#24865: Add a feature to programmatically remove stale content types
--------------------------------------+------------------------------------
     Reporter:  Protosac              |                    Owner:  nobody
         Type:  New feature           |                   Status:  new
    Component:  contrib.contenttypes  |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  stale contenttypes    |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  1
  Needs tests:  1                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by timgraham):

 Tests would ensure that the `remove_contenttypes()` function performs the
 job it's expected to do (deleting content types for the given `app`).

 For docs, I'd suggest to add a "Utilities" section which documents
 `remove_contenttypes()`. No need to document the `update_contenttypes()`
 method -- that should remain a private function in my opinion.

--
Ticket URL: <https://code.djangoproject.com/ticket/24865#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ddc2237be69dbaa0a3faea0e9a7e982e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to