2016-03-11 09:26:44 +01:00
|
|
|
from __future__ import print_function
|
|
|
|
try:
|
|
|
|
from django.conf import settings
|
|
|
|
from zerver.models import *
|
2017-05-31 21:24:04 +02:00
|
|
|
from zerver.lib.actions import * # type: ignore # Otherwise have duplicate imports with previous line
|
2016-07-29 21:52:45 +02:00
|
|
|
from analytics.models import *
|
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.")
|