Code

Opened 7 years ago

Closed 7 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@…> 7 years ago.
modpython2.diff (574 bytes) - added by Simon G. <dev@…> 7 years ago.

Download all attachments as: .zip

Change History (9)

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to 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.

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

  • Cc dev@… added
  • Has patch set
  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Summary changed from Python path to your settings file... to "Settings file" is unclear in modpython docs.
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 7 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 7 years ago by Simon G. <dev@…>

comment:4 Changed 7 years ago by ubernostrum

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

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

good idea, here's a new patch.

comment:6 Changed 7 years ago by mtredinnick

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 7 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.