Opened 10 years ago

Closed 10 years ago

#3840 closed (fixed)

"Settings file" is unclear in modpython docs.

Reported by: anonymous Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: dev@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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)

modpython.diff (593 bytes) - added by Simon G. <dev@…> 10 years ago.
modpython2.diff (574 bytes) - added by Simon G. <dev@…> 10 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by Simon G. <dev@…>

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

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.

comment:2 Changed 10 years ago by Simon G. <dev@…>

Cc: dev@… added
Has patch: set
Resolution: invalid
Status: closedreopened
Summary: Python path to your settings file..."Settings file" is unclear in modpython docs.
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 10 years ago by Simon G. <dev@…>

Looking over django-users, this appears to be confusing a number of users. The attached patch clarifies this a bit.

Changed 10 years ago by Simon G. <dev@…>

Attachment: modpython.diff added

comment:4 Changed 10 years ago by James Bennett

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...

Changed 10 years ago by Simon G. <dev@…>

Attachment: modpython2.diff added

comment:5 Changed 10 years ago by Simon G. <dev@…>

good idea, here's a new patch.

comment:6 Changed 10 years ago by Malcolm Tredinnick

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 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: reopenedclosed

(In [4864]) Fixed #3840 -- Attempted to clarify how to specify the settings file
configuration for mod_python.

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