Opened 17 years ago

Closed 17 years ago

#6046 closed (fixed)

windows svn install: PYTHONPATH should include django-trunk not django-trunk\django

Reported by: Richard D. Worth <rdworth@…> Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: PYTHONPATH windows install
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation/install/ page instructs the reader to create a PYTHONPATH environment variable in Windows to allow for 'import django'. The line reads:

"you can define your PYTHONPATH environment variable so that it includes the django subdirectory of django-trunk."

I found this allowed for import of modules underneath django (ex. import bin), but not for django itself. Suggested change:

"you can define your PYTHONPATH environment variable so that it includes the django-trunk directory."

I have only tested this on windows with rev6718. Don't know if it effects/will work on other OS.

Attachments (1)

windows_pythonpath.diff (650 bytes ) - added by Chris Beaven 17 years ago.

Download all attachments as: .zip

Change History (3)

by Chris Beaven, 17 years ago

Attachment: windows_pythonpath.diff added

comment:1 by Chris Beaven, 17 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [6750]) Fixed #6046 -- Correct an obvious blunder in setting the PYTHONPATH. Pointed
out by Richard Worth.

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