Do not internationalize/translate URLs

It may be a red herring (caused by a different error). I had to work through several different exceptions that were being thrown when urls.py files were loaded before this error went away. Try dropping into a django shell and running these commands:

from django.urls import reverse
reverse('indexpage')

and you should see the real error causing the problem there. Fix the problem and repeat until you have no more exceptions.