Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…r the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d0979a5faf4fdf86650567540f623e4bbc68e09a 1 parent f44c4a5
Paul McMillan authored
5  django/core/management/commands/flush.py
@@ -17,7 +17,10 @@ class Command(NoArgsCommand):
17 17
             default=DEFAULT_DB_ALIAS, help='Nominates a database to flush. '
18 18
                 'Defaults to the "default" database.'),
19 19
     )
20  
-    help = "Executes ``sqlflush`` on the current database."
  20
+    help = ('Returns the database to the state it was in immediately after '
  21
+           'syncdb was executed. This means that all data will be removed '
  22
+           'from the database, any post-synchronization handlers will be '
  23
+           're-executed, and the initial_data fixture will be re-installed.')
21 24
 
22 25
     def handle_noargs(self, **options):
23 26
         db = options.get('database', DEFAULT_DB_ALIAS)

0 notes on commit d0979a5

Please sign in to comment.
Something went wrong with that request. Please try again.