Django

Code

Ticket #6046 (closed: fixed)

Opened 9 months ago

Last modified 9 months ago

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

Reported by: Richard D. Worth <rdworth@gmail.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: PYTHONPATH windows install
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

windows_pythonpath.diff (0.6 kB) - added by SmileyChris on 11/28/07 18:50:49.

Change History

11/28/07 18:50:49 changed by SmileyChris

  • attachment windows_pythonpath.diff added.

11/28/07 18:51:07 changed by SmileyChris

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

11/29/07 14:09:48 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #6046 (windows svn install: PYTHONPATH should include django-trunk not django-trunk\django)




Change Properties
Action