2016-03-11 09:26:44 +01:00
|
|
|
try:
|
2020-06-11 02:53:32 +02:00
|
|
|
from django.conf import settings # noqa: F401
|
2020-06-11 00:54:34 +02:00
|
|
|
|
2020-06-11 02:53:32 +02:00
|
|
|
from analytics.models import * # noqa: F401, F403
|
2020-06-11 00:54:34 +02:00
|
|
|
from zerver.models import * # noqa: F401, F403
|
2016-03-11 09:26:44 +01:00
|
|
|
except Exception:
|
|
|
|
import traceback
|
2021-02-12 08:19:30 +01:00
|
|
|
|
2016-03-11 09:26:44 +01:00
|
|
|
print("\nException importing Zulip core modules on startup!")
|
|
|
|
traceback.print_exc()
|
|
|
|
else:
|
|
|
|
print("\nSuccessfully imported Zulip settings, models, and actions functions.")
|