diff options
Diffstat (limited to 'weblog/urls.py')
-rwxr-xr-x | weblog/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weblog/urls.py b/weblog/urls.py index b3e95b1..ddc2c9f 100755 --- a/weblog/urls.py +++ b/weblog/urls.py @@ -20,4 +20,5 @@ urlpatterns += [ url(r'^(?P<year>[0-9]{4})/(?P<month>[0-9]{1,2})/$', views.Index, name='ArchiveIndex'),
url(r'^(?P<category_slug>[-\w]+)/$', views.Index, name='CategoryIndex'),
url(r'^(?P<category_slug>[-\w]+)/(?P<post_slug>[-\w]+)/$', views.PostView, name='PostView'),
+ url(r'^(?P<category_slug>[-\w]+)/(?P<post_slug>[-\w]+)/(?P<language>[-\w]+)/$', views.PostView, name='TranslationView'),
]
|