Skip to content

Commit 0657646

Browse files
committed
Removed unused options copy in flush
This was used at the time the 'database' option did not default to DEFAULT_DB_ALIAS in make_option.
1 parent 6d3b0c3 commit 0657646

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

django/core/management/commands/flush.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ def handle_noargs(self, **options):
8282
emit_post_sync_signal(set(all_models), verbosity, interactive, db)
8383

8484
# Reinstall the initial_data fixture.
85-
kwargs = options.copy()
86-
kwargs['database'] = db
8785
if options.get('load_initial_data'):
8886
# Reinstall the initial_data fixture.
8987
call_command('loaddata', 'initial_data', **options)

0 commit comments

Comments
 (0)