Opened 13 years ago
Closed 13 years ago
#17723 closed Bug (fixed)
Documentation update for language code URL sniffing regression
Reported by: | Ryan Kaskel | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.4-beta-1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
#17720 reports and r17547 fixes a regression related to the LocaleMiddleware sniffing language codes in the URL's path.
The patch required adding a keyword argument to django.utils.translation.get_language_from_request
, which is a publicly documented function.
Attached is a doc patch noting the change.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | 17723.diff added |
---|
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
The only question I have is if check_path is the right name for that parameter. Maybe check_url/check_url_path would be more descriptive? I didn't realize the function was a public one, so good catch there!
Just bike shedding here, so let the committer decide. I guess the current name is OK too.