Ticket #6011: 6011.flush-help.diff

File 6011.flush-help.diff, 882 bytes (added by Julien Phalip, 14 years ago)
  • django/core/management/commands/flush.py

    diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py
    index bcadb96..0fe2779 100644
    a b class Command(NoArgsCommand):  
    1717            default=DEFAULT_DB_ALIAS, help='Nominates a database to flush. '
    1818                'Defaults to the "default" database.'),
    1919    )
    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.')
    2124
    2225    def handle_noargs(self, **options):
    2326        db = options.get('database', DEFAULT_DB_ALIAS)
Back to Top