mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
pythonrc: Add various frequently handy imports.
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
try:
|
||||
from django.conf import settings # noqa: F401
|
||||
from django.conf import settings
|
||||
|
||||
from analytics.models import * # noqa: F403
|
||||
from zerver.models import * # noqa: F403
|
||||
from zerver.models.realms import * # noqa: F403
|
||||
from zerver.models.streams import * # noqa: F403
|
||||
from zerver.models.users import * # noqa: F403
|
||||
|
||||
if settings.CORPORATE_ENABLED:
|
||||
from corporate.lib.stripe import * # noqa: F403
|
||||
except Exception:
|
||||
import traceback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user