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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -