#28778 closed Cleanup/optimization (invalid)

Contribution guide missing django installation instructions

Reported by: Hrishikesh Barman Owned by: Hrishikesh Barman
Component: Documentation Version: 1.11
Severity: Normal Keywords: testcases, contribution
Cc: Hrishikesh Barman Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The Writing your first patch for Django (https://docs.djangoproject.com/en/1.11/intro/contributing/) misses on mentioning the installation of django using python setup.py install .

It does have clear instructions about installing the dependencies using pip install -r requirements/py3.txt but that does not install django, if if you install django using pip install django it installs some other version of django that fails the test cases.

I cloned the latest version from github, and pip installs django1.11.7 and test cases give error, when I do setup.py install it installs django2.0 and test cases ran successfully.

so, adding a line about installing the version of django using python setup.py install will be helpful.

Change History (2)

comment:1 Changed 15 months ago by Hrishikesh Barman

Cc: Hrishikesh Barman added
Owner: changed from nobody to Hrishikesh Barman

comment:2 Changed 15 months ago by Tim Graham

Resolution: invalid
Status: assignedclosed

This isn't necessary. I think you missed the pip install -e /path/to/your/local/clone/django/ command from earlier.

Note: See TracTickets for help on using tickets.
Back to Top