From 8fd79ffe610d4fce69913fd167d437322347c3d4 Mon Sep 17 00:00:00 2001 From: Yaroslsav-95 Date: Fri, 22 Jun 2018 20:20:50 +0300 Subject: read post in another language (templates missing links) --- weblog/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'weblog/urls.py') diff --git a/weblog/urls.py b/weblog/urls.py index 643e8c7..71206bb 100755 --- a/weblog/urls.py +++ b/weblog/urls.py @@ -9,4 +9,5 @@ urlpatterns = [ url(r'^(?P[0-9]{4})/(?P[0-9]{1,2})/$', views.Index, name='ArchiveIndex'), url(r'^(?P[-\w]+)/$', views.Index, name='CategoryIndex'), url(r'^(?P[-\w]+)/(?P[-\w]+)/$', views.PostView, name='PostView'), -] \ No newline at end of file + url(r'^(?P[-\w]+)/(?P[-\w]+)/(?P[-\w]+)/$', views.PostView, name='TranslationView'), +] -- cgit v1.2.3