Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed url translation docs.

``include`` calls shouldn't have a $ sign at the end of the url pattern.
  • Loading branch information...
commit 946d3d9f84ea7979a4abf0857e4aa7ee33576303 1 parent c864b36
@bmihelac bmihelac authored apollo13 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/i18n/translation.txt
View
4 docs/topics/i18n/translation.txt
@@ -890,7 +890,7 @@ prepend the current active language code to all url patterns defined within
urlpatterns += i18n_patterns('',
url(r'^about/$', 'about.view', name='about'),
- url(r'^news/$', include(news_patterns, namespace='news')),
+ url(r'^news/', include(news_patterns, namespace='news')),
)
@@ -945,7 +945,7 @@ URL patterns can also be marked translatable using the
urlpatterns += i18n_patterns('',
url(_(r'^about/$'), 'about.view', name='about'),
- url(_(r'^news/$'), include(news_patterns, namespace='news')),
+ url(_(r'^news/'), include(news_patterns, namespace='news')),
)
Please sign in to comment.
Something went wrong with that request. Please try again.