From 1e42dc572873e29e35a89c4548a2cbdbdb486c27 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 7 Sep 2012 11:33:46 -0400 Subject: [PATCH] Clear UserMessage table in populate_db as well. (imported from commit 6d1c9b7a9974373857724ddd7b8d7805ed99c784) --- zephyr/management/commands/populate_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/management/commands/populate_db.py b/zephyr/management/commands/populate_db.py index 18eeb69184..f391894ef6 100644 --- a/zephyr/management/commands/populate_db.py +++ b/zephyr/management/commands/populate_db.py @@ -51,7 +51,7 @@ class Command(BaseCommand): return for klass in [Zephyr, ZephyrClass, UserProfile, User, Recipient, - Realm, Subscription, Huddle]: + Realm, Subscription, Huddle, UserMessage]: klass.objects.all().delete() # Create a test realm