diff --git a/django/core/management/commands/syncdb.py b/django/core/management/commands/syncdb.py
index a5228a1..228baca 100644
a
|
b
|
class Command(NoArgsCommand):
|
14 | 14 | option_list = NoArgsCommand.option_list + ( |
15 | 15 | make_option('--noinput', action='store_false', dest='interactive', default=True, |
16 | 16 | help='Tells Django to NOT prompt the user for input of any kind.'), |
| 17 | make_option('--no-initial-data', action='store_false', dest='load_initial_data', default=True, |
| 18 | help='Tells Django not to load any initial data after database synchronization.'), |
17 | 19 | make_option('--database', action='store', dest='database', |
18 | 20 | default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. ' |
19 | 21 | 'Defaults to the "default" database.'), |
… |
… |
class Command(NoArgsCommand):
|
25 | 27 | verbosity = int(options.get('verbosity', 1)) |
26 | 28 | interactive = options.get('interactive') |
27 | 29 | show_traceback = options.get('traceback', False) |
28 | | |
29 | | # Stealth option -- 'load_initial_data' is used by the testing setup |
30 | | # process to disable initial fixture loading. |
31 | 30 | load_initial_data = options.get('load_initial_data', True) |
32 | 31 | |
33 | 32 | self.style = no_style() |