Skip to content

Commit 9f7b277

Browse files
committed
Fixed #20285 - Added missing commas in translation docs.
Thanks cody.j.b.scott@
1 parent f71fdf8 commit 9f7b277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/topics/i18n/translation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,11 +1030,11 @@ prepend the current active language code to all url patterns defined within
10301030
from django.conf.urls import patterns, include, url
10311031
from django.conf.urls.i18n import i18n_patterns
10321032

1033-
urlpatterns = patterns(''
1033+
urlpatterns = patterns('',
10341034
url(r'^sitemap\.xml$', 'sitemap.view', name='sitemap_xml'),
10351035
)
10361036

1037-
news_patterns = patterns(''
1037+
news_patterns = patterns('',
10381038
url(r'^$', 'news.views.index', name='index'),
10391039
url(r'^category/(?P<slug>[\w-]+)/$', 'news.views.category', name='category'),
10401040
url(r'^(?P<slug>[\w-]+)/$', 'news.views.details', name='detail'),

0 commit comments

Comments
 (0)