Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've replied to the post on the forum, but if this is the default way Jupyter runs then we're going to have to figure something out longer-term. Calling the Django ORM from an async thread just isn't safe...


Thanks for the reply and all of the great work.

Using django in a notebook is definitely not a typical use case so I wouldn't worry about it too much.

Ideally the ORM would be a standalone package that could be used outside of the web server context. (I know sqlalchemy is an option but then you lose all of the benefits of django)


Our developers love to work in notebooks running Django, it lets you iterate extremely fast.


Andrew already has a PR to fix this issue https://github.com/django/django/pull/12172




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: