django - Wagtail multi-language NoReverseMatch -


i trying implement multi-language support website. using wagtail-modeltranslation. after installing it, when try edit home page admin getting exception:

noreversematch @ /admin/pages/2/ reverse 'wagtail_serve' arguments '('/home/',)' not found. 1 pattern(s) tried: ['en/((?:[\\w\\-]+/)*)$'] 

the ursl.py correct:

urlpatterns += i18n_patterns(     url(r'', include(wagtail_urls)), ) 

i can edit slug in panel, have tried add slug class e.g:

promote_panels = page.promote_panels + [     fieldpanel('slug'),     ] 

i see trying reach en/ version in admin , don't why?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -