contenttypes.models.ContentTypeManager.clear_cache()

clear_cache()

Clears an internal cache used by ContentType to keep track of models for which it has created ContentType instances. You probably won’t ever need to call this method yourself; Django will call it automatically when it’s needed.

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.