Code

Opened 6 years ago

Closed 6 years ago

#9272 closed (invalid)

contrib.admin.sites should use path_info

Reported by: anonymous Owned by: nobody
Component: contrib.admin Version: 1.0
Severity: Keywords: site.root mod_python
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Under mod_python admin.site.root uses the wrong settings if django.root is not empty. Trivial patch attached.

Cheers,

Ant9000

Attachments (1)

admin_site_root.diff (467 bytes) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

I'm pretty sure that using request.path is correct in this circumstance.

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.