mirror of https://github.com/zulip/zulip.git
12 lines
367 B
Python
12 lines
367 B
Python
try:
|
|
from django.conf import settings
|
|
from zerver.models import *
|
|
from zerver.lib.actions import *
|
|
from analytics.models import *
|
|
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.")
|