Install Jupyter extension (vs code)
Install ipykernel Install notebook install django_extensions
Add django_extensions
to settings.py
-> INSTALLED_APPS
jupyter notebook --generate-config
Add c.IdentityProvider.token = ""
to the generated file
Run DJANGO_ALLOW_ASYNC_UNSAFE=1 ./manage.py shell_plus --lab --no-browser
CMD + P
>Jupyter: Create new notebook
- Select Kernel
- Existing kernel: http://127.0.0.1:8888/lab
- Name: Django shell
Profit