diff --git a/django/contrib/sites/management.py b/django/contrib/sites/management.py index 2600d04fbd..975bafe1ff 100644 --- a/django/contrib/sites/management.py +++ b/django/contrib/sites/management.py @@ -35,5 +35,3 @@ def create_default_site(app_config, verbosity=2, interactive=True, db=DEFAULT_DB with connections[db].cursor() as cursor: for command in sequence_sql: cursor.execute(command) - - Site.objects.clear_cache()