Opened 10 years ago
Last modified 10 years ago
#23696 closed Uncategorized
Documentation for i18n_patterns for current Stable 1.7 wrong — at Version 1
Reported by: | Govinda Dasu | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi, I'm not sure if this is intentional but when someone comes to your home page and downloads 1.7, they expect the documentation for i18n_patterns to apply to 1.7 and not 1.8. I spent all day trying to figure out why
i18n_patterns( url(r'^home/$', views.index, name='index'), )
is wrong since I just copied the example you guys posted, but after reading between the lines on the statement about prefix being deprecated in 1.8, I realized that the provided example must be for 1.8 and not 1.7 and got the url working by doing
i18n_patterns('', ...)
Note:
See TracTickets
for help on using tickets.