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)

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

Download all attachments as: .zip

Change History (9)

comment:1 by Simon G. <dev@…>, 18 years ago

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 by Simon G. <dev@…>, 18 years ago

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 by Simon G. <dev@…>, 18 years ago

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

by Simon G. <dev@…>, 18 years ago

Attachment: modpython.diff added

comment:4 by James Bennett, 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 Simon G. <dev@…>, 18 years ago

Attachment: modpython2.diff added

comment:5 by Simon G. <dev@…>, 18 years ago

good idea, here's a new patch.

comment:6 by Malcolm Tredinnick, 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 Malcolm Tredinnick, 18 years ago

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