Browse files

Fixed #6011 -- Improved help text for flush command. Thanks Julien fo…

…r the patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
PaulMcMillan committed Sep 22, 2011
1 parent f44c4a5 commit d0979a5faf4fdf86650567540f623e4bbc68e09a
Showing with 4 additions and 1 deletion.
  1. +4 −1 django/core/management/commands/
@@ -17,7 +17,10 @@ class Command(NoArgsCommand):
default=DEFAULT_DB_ALIAS, help='Nominates a database to flush. '
'Defaults to the "default" database.'),
help = "Executes ``sqlflush`` on the current database."
help = ('Returns the database to the state it was in immediately after '
'syncdb was executed. This means that all data will be removed '
'from the database, any post-synchronization handlers will be '
're-executed, and the initial_data fixture will be re-installed.')
def handle_noargs(self, **options):
db = options.get('database', DEFAULT_DB_ALIAS)

0 comments on commit d0979a5

Please sign in to comment.