Remove obsolete clear_db management command.

do_destroy_rebuild_database is the "new" way to reset one's dev
database.

(imported from commit 8edb707ecd5e6e24b62eef324915cc3a4a5b8eda)
This commit is contained in:
Tim Abbott
2013-10-31 14:53:54 -04:00
parent 384f64d38d
commit 217478e988

View File

@@ -1,11 +0,0 @@
from __future__ import absolute_import
from django.core.management.base import NoArgsCommand
from zerver.models import clear_database
class Command(NoArgsCommand):
help = "Clear only tables we change: messages, accounts + sessions"
def handle_noargs(self, **options):
clear_database()
self.stdout.write("Successfully cleared the database.\n")