Skip to content

Instantly share code, notes, and snippets.

View buswedg's full-sized avatar
🎯
Focusing

Darryl Buswell buswedg

🎯
Focusing
View GitHub Profile
@codingforentrepreneurs
codingforentrepreneurs / Django for Jupyter.md
Last active May 7, 2024 16:24
Django Setup for use in Jupyter Notebooks

Django for Jupyter

It's true packages exist to make it "easy" to use Django inside of a jupyter notebook. I seem to always run into issues successfully running these packages. I've found the below method useful although I cannot recall how I discovered how this works (aka attribution needed).

Requirements

  • Virtual Environment (virtualenv, venv, pipenv, etc)
  • Django installed & project created (we'll use the project name cfehome)
  • Jupyter installed at least in the virtual environment