django1/tests/i18n/patterns/urls/wrong.py

9 lines
276 B
Python

from django.conf.urls import include, url
from django.conf.urls.i18n import i18n_patterns
from django.utils.translation import ugettext_lazy as _
urlpatterns = i18n_patterns('',
url(_(r'^account/'), include('i18n.patterns.urls.wrong_namespace', namespace='account')),
)