2016-03-11 09:26:44 +01:00
|
|
|
from __future__ import print_function
|
|
|
|
try:
|
|
|
|
from django.conf import settings
|
|
|
|
from zerver.models import *
|
2016-03-31 21:43:09 +02:00
|
|
|
from zerver.lib.actions import * # type: ignore # Otherwise have duplicate imports with previous line
|
2016-03-11 09:26:44 +01:00
|
|
|
except Exception:
|
|
|
|
import traceback
|
|
|
|
print("\nException importing Zulip core modules on startup!")
|
|
|
|
traceback.print_exc()
|
|
|
|
else:
|
|
|
|
print("\nSuccessfully imported Zulip settings, models, and actions functions.")
|