mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
manage: Delete custom PYTHONSTARTUP.
In Django 5.2, manage.py shell automatically imports models. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
24e8ba97cb
commit
acd6c51b6f
@@ -148,7 +148,6 @@ if __name__ == "__main__":
|
||||
|
||||
log_management_command(sys.argv, settings.MANAGEMENT_LOG_PATH)
|
||||
|
||||
os.environ.setdefault("PYTHONSTARTUP", os.path.join(BASE_DIR, "scripts/lib/pythonrc.py"))
|
||||
if "--no-traceback" not in sys.argv and len(sys.argv) > 1:
|
||||
sys.argv.append("--traceback")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user