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: | 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)
Change History (3)
by , 17 years ago
Attachment: | windows_pythonpath.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [6750]) Fixed #6046 -- Correct an obvious blunder in setting the PYTHONPATH. Pointed
out by Richard Worth.