mirror of
https://github.com/django/django.git
synced 2025-03-04 22:24:29 +00:00
Removed an undocumented contenttypes synchronization method.
This commit is contained in:
parent
4986653d9d
commit
f2f70faa80
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user