Hack to make populate_db still work during domain transition.

(imported from commit bd1500b49080c277edba5400c315c9824fcc4ac8)
This commit is contained in:
Tim Abbott 2013-07-24 14:59:36 -04:00
parent a9b3b20ea6
commit 477dbddbdf

View File

@ -118,6 +118,7 @@ class Command(BaseCommand):
realms = {}
for realm in Realm.objects.all():
realms[realm.domain] = realm
realms['zulip.com'] = realms['humbughq.com']
# Create test Users (UserProfiles are automatically created,
# as are subscriptions to the ability to receive personals).