Skip to content

Commit

Permalink
Removed unused options copy in flush
Browse files Browse the repository at this point in the history
This was used at the time the 'database' option did not default to
DEFAULT_DB_ALIAS in make_option.
  • Loading branch information
claudep committed Mar 1, 2013
1 parent 6d3b0c3 commit 0657646
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django/core/management/commands/flush.py
Expand Up @@ -82,8 +82,6 @@ def handle_noargs(self, **options):
emit_post_sync_signal(set(all_models), verbosity, interactive, db)

# Reinstall the initial_data fixture.
kwargs = options.copy()
kwargs['database'] = db
if options.get('load_initial_data'):
# Reinstall the initial_data fixture.
call_command('loaddata', 'initial_data', **options)
Expand Down

0 comments on commit 0657646

Please sign in to comment.