2

Django raises

django.urls.exceptions.NoReverseMatch: 'en-us' is not a registered namespace

How i can fix it?

IzeBerg
  • 21
  • 1
  • 2
  • 1
    Possible duplicate of [Django Error u"'polls" is not a registered namespace](https://stackoverflow.com/questions/14892462/django-error-upolls-is-not-a-registered-namespace) – JOSEFtw Sep 29 '17 at 18:37
  • Am assuming that you are using Django CMS, you need to check that your language settings in settings.py and CMS si correctly setting up to serve the correct page translations from the urls – aspo Sep 29 '17 at 20:36

2 Answers2

2

See this answer for a more complete description of why this error is raised.

In a nutshell, if there are import errors while populating URLs you might run in to this error.

Shailesh
  • 595
  • 3
  • 17
0

NoReverseMatch error has to do with urls so check your url patterns url(...). make sure your django version is 1.11 if not try to update it to 1.11