Ticket #12058: reset-with-database-option.diff
File reset-with-database-option.diff, 523 bytes (added by , 15 years ago) |
---|
-
django/core/management/commands/reset.py
23 23 if not options['database']: 24 24 dbs = connections.all() 25 25 else: 26 dbs = [ options['database']]26 dbs = [connections[options['database']]] 27 27 28 28 app_name = app.__name__.split('.')[-2] 29 29 self.style = no_style()