Django not installed as top level dependence
Author: milemikCreated Apr 10, 2026Updated May 12, 2026
LabelsType: Question :grey_question:
Issue description
I setup new project using pipenv by running:
pipenv install django djangorestframework
After install completes and I run this command:
pipenv run pip freeze
I don't see django in the list.
If I run:
pipenv graph
I see output like this:
djangorestframework==3.17.1 └── Django [required: >=4.2, installed: 5.2.13] ├── asgiref [required: >=3.8.1, installed: 3.11.1] └── sqlparse [required: >=0.3.1, installed: 0.5.5]
My Pipfile looks like this: [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi"
[packages] django = "" djangorestframework = ""
[dev-packages]
[requires] python_version = "3.11"
Expected result
I expect to see django as a top level dependence.
Steps to replicate
- create new project directory
- cd into new project directory
- install dependencies:
pipenv install django djangorestframework - Check if django installed:
pipenv run pip freeze
Source: pypa/pipenv