Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #20285 - Added missing commas in translation docs.

Thanks cody.j.b.scott@
  • Loading branch information...
commit 9f7b277d2e14abd89972f7593aad3543a5028760 1 parent f71fdf8
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/i18n/translation.txt
View
4 docs/topics/i18n/translation.txt
@@ -1030,11 +1030,11 @@ prepend the current active language code to all url patterns defined within
from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
- urlpatterns = patterns(''
+ urlpatterns = patterns('',
url(r'^sitemap\.xml$', 'sitemap.view', name='sitemap_xml'),
)
- news_patterns = patterns(''
+ news_patterns = patterns('',
url(r'^$', 'news.views.index', name='index'),
url(r'^category/(?P<slug>[\w-]+)/$', 'news.views.category', name='category'),
url(r'^(?P<slug>[\w-]+)/$', 'news.views.details', name='detail'),
Please sign in to comment.
Something went wrong with that request. Please try again.