diff options
| author | Simon Charette <charette.s@gmail.com> | 2015-01-09 15:58:52 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2015-01-09 15:58:52 -0500 |
| commit | f2f70faa809c3b261e840441451ac93992c5ee84 (patch) | |
| tree | 39202a4ed31e8d5558c1199affac0ac0bc83b729 | |
| parent | 4986653d9d7956df26502e19277454649adbd23d (diff) | |
Removed an undocumented contenttypes synchronization method.
| -rw-r--r-- | django/contrib/contenttypes/management.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/django/contrib/contenttypes/management.py b/django/contrib/contenttypes/management.py index 6255f0ca37..abcc5b836f 100644 --- a/django/contrib/contenttypes/management.py +++ b/django/contrib/contenttypes/management.py @@ -84,12 +84,3 @@ If you're unsure, answer 'no'. else: if verbosity >= 2: print("Stale content types remain.") - - -def update_all_contenttypes(**kwargs): - for app_config in apps.get_app_configs(): - update_contenttypes(app_config, **kwargs) - - -if __name__ == "__main__": - update_all_contenttypes() |
