> For the complete documentation index, see [llms.txt](https://www.dicas-de-django.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.dicas-de-django.com.br/007-rodando-o-orm-do-django-no-jupyter-notebook.md).

# Dica 7 - Rodando o ORM do Django no Jupyter Notebook

[![](/files/-MfuAOwUjEsk4qZiRsOx)](https://youtu.be/bXtmvu_O_sk)

Instale

```
pip install ipython[notebook]
```

Rode

```
python manage.py shell_plus --notebook
```

**Obs**: No Django 3.x talvez você precise dessa configuração [async-safety](https://docs.djangoproject.com/en/3.0/topics/async/#async-safety).

`os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"`
