diff --git a/django/core/management/commands/createcachetable.py b/django/core/management/commands/createcachetable.py
a
|
b
|
|
20 | 20 | requires_model_validation = False |
21 | 21 | |
22 | 22 | def handle_label(self, tablename, **options): |
23 | | db = options.get('database', DEFAULT_DB_ALIAS) |
| 23 | db = options.get('database') |
24 | 24 | cache = BaseDatabaseCache(tablename, {}) |
25 | 25 | if not router.allow_syncdb(db, cache.cache_model_class): |
26 | 26 | return |
diff --git a/django/core/management/commands/reset.py b/django/core/management/commands/reset.py
a
|
b
|
|
25 | 25 | 'This command has been deprecated. The command ``flush`` can be used to delete everything. You can also use ALTER TABLE or DROP TABLE statements manually.', |
26 | 26 | DeprecationWarning |
27 | 27 | ) |
28 | | using = options.get('database', DEFAULT_DB_ALIAS) |
| 28 | using = options.get('database') |
29 | 29 | connection = connections[using] |
30 | 30 | |
31 | 31 | app_name = app.__name__.split('.')[-2] |
diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py
a
|
b
|
|
72 | 72 | """ |
73 | 73 | Runs the server, using the autoreloader if needed |
74 | 74 | """ |
75 | | use_reloader = options.get('use_reloader', True) |
| 75 | use_reloader = options.get('use_reloader') |
76 | 76 | |
77 | 77 | if use_reloader: |
78 | 78 | autoreload.main(self.inner_run, args, options) |
… |
… |
|
83 | 83 | from django.conf import settings |
84 | 84 | from django.utils import translation |
85 | 85 | |
86 | | threading = options.get('use_threading', False) |
| 86 | threading = options.get('use_threading') |
87 | 87 | shutdown_message = options.get('shutdown_message', '') |
88 | 88 | quit_command = (sys.platform == 'win32') and 'CTRL-BREAK' or 'CONTROL-C' |
89 | 89 | |