Opened 6 years ago

Closed 5 years ago

#8650 closed (duplicate)

request.path_info is not documented

Reported by: dc Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


HttpRequest.path_info is documented nowhere.

I think documentation with note that user code in most cases must use request.path_info and not request.path (for portability) is important.

Also all SCRIPT_NAME/PATH_INFO thing needs more space in documentation, not only small section in deployment.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by SmileyChris

  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by SmileyChris

Note that most user code should *not* use request.path_info. The only case when it should be used is if the code deals directly with url resolving.

comment:3 Changed 5 years ago by dc

  • Resolution set to duplicate
  • Status changed from new to closed

Closing in favour of #10328 which includes documentation update.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.