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
2016-10-09 18:34:39
Comments
Leave a Comment

Please login to continue.