Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove instruction to pip install Django #7699

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ To run the tests, clone the repository, and then:
# Setup the virtual environment
python3 -m venv env
source env/bin/activate
pip install django
pip install -r requirements.txt

# Run the tests
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Let's take a look at a quick example of using REST framework to build a simple m

Startup up a new project like so...

pip install django
pip install djangorestframework
django-admin startproject example .
./manage.py migrate
Expand Down
1 change: 0 additions & 1 deletion docs/community/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ To run the tests, clone the repository, and then:
# Setup the virtual environment
python3 -m venv env
source env/bin/activate
pip install django
pip install -r requirements.txt

# Run the tests
Expand Down
1 change: 0 additions & 1 deletion docs/tutorial/1-serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Before we do anything else we'll create a new virtual environment, using [venv].

Now that we're inside a virtual environment, we can install our package requirements.

pip install django
pip install djangorestframework
pip install pygments # We'll be using this for the code highlighting

Expand Down
3 changes: 1 addition & 2 deletions docs/tutorial/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Create a new Django project named `tutorial`, then start a new app called `quick
python3 -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`

# Install Django and Django REST framework into the virtual environment
pip install django
# Install Django REST framework into the virtual environment
pip install djangorestframework

# Set up a new project with a single application
Expand Down
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
# only included the relevant sets when running tox, and ensures
# we are only ever declaring our dependencies in one place.

-r requirements/requirements-optionals.txt
-r requirements/requirements-testing.txt
-r requirements/requirements-documentation.txt
-r requirements/requirements-base.txt
-r requirements/requirements-codestyle.txt
-r requirements/requirements-documentation.txt
-r requirements/requirements-optionals.txt
-r requirements/requirements-packaging.txt
-r requirements/requirements-testing.txt
1 change: 1 addition & 0 deletions requirements/requirements-base.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django