Django urlpattens no longer support common prefixes

pull/3460/head
Ross Curzon-Butler 2017-03-17 09:00:46 +01:00 zatwierdzone przez GitHub
rodzic 55eaa0c137
commit d4165f0d40
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -89,7 +89,7 @@ This feature is enabled through the project's root URL configuration. Just put t
]
urlpatterns += i18n_patterns('',
urlpatterns += i18n_patterns(
# These URLs will have /<language_code>/ appended to the beginning
url(r'^search/$', 'search.views.search', name='search'),