Opened 18 years ago
Closed 18 years ago
#3840 closed (fixed)
"Settings file" is unclear in modpython docs.
Reported by: | anonymous | Owned by: | Jacob |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | dev@… | 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
Hello,
On this page:
http://www.djangoproject.com/documentation/modpython/
You write:
"…and replace mysite.settings with the Python path to your settings file."
Could you please clarify? What is the "settings file"? settings.py? From where?
I'm installing Kforge on a ubuntu server.
Many thanks,
Thomas
Attachments (2)
Change History (9)
comment:1 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Cc: | added |
---|---|
Has patch: | set |
Resolution: | invalid |
Status: | closed → reopened |
Summary: | Python path to your settings file... → "Settings file" is unclear in modpython docs. |
Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 18 years ago
Looking over django-users, this appears to be confusing a number of users. The attached patch clarifies this a bit.
by , 18 years ago
Attachment: | modpython.diff added |
---|
comment:4 by , 18 years ago
Simon, a better wording might be "replace mysite.settings
with the Python path to your Django project's settings file".
Of course, then we may run into problems with the phrase "Python path", but we'll deal with that when we get there...
by , 18 years ago
Attachment: | modpython2.diff added |
---|
comment:6 by , 18 years ago
We're using the phrase "Python import path" in most other places for a dotted string like this, so let's use that here, too. No need for a new patch, I'm about to commit this. Merely explaining the way my tiny, twisted mind works.
comment:7 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Yes, the settings file is settings.py, and your PYTHONPATH is an environment setting that tells python where to find packages. Can you please direct questions like this to the django-users or django-developers mailing lists? thanks.