populate_db: Fix unnecessary import from zephyr.views.

Importing zephyr.views here has the unfortunate side effect of
creating Client ids 1 and 2 automatically (via decorators.py
instantiating the two client objects it makes), before we go ahead and
delete all objects in the database as part of the populate_db startup.

(imported from commit da03cb7606334d5926e42f422ab94d1c884937b9)
This commit is contained in:
Tim Abbott 2012-12-14 11:09:21 -05:00
parent dc2057ff73
commit b2755472bb
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ from zephyr.models import Message, UserProfile, Stream, Recipient, Client, \
bulk_create_clients, set_default_streams, \
do_send_message, clear_database, StreamColor, \
get_huddle_hash, get_client, do_activate_user
from zephyr.views import set_stream_color
from zephyr.lib.parallel import run_parallel
from django.db import transaction, connection
from django.conf import settings