[Solved]-Django-cms: urls used by apphooks don't work with reverse() or {% url %}


This was apparently due to our application having cms.middleware.multilingual.MultilingualURLMiddleware which then forced all {% url %} template tags and the reverse() function to require the language namespace.

Since our site is not localized, removing the middleware worked fine. The documentation didn’t seem that clear to me on this and finally found the answer from another source.

Leave a comment