django_browserid/utils.py imports and uses django.utils.encoding.force_unicode; on Django 1.5 under Python 3 that function doesn't exist. Instead, django.utils.encoding.force_text is the utility function for Python 3. Trying to import force_unicode, catching ImportError and falling back to importing force_text should do the trick.
django_browserid/utils.py imports and uses django.utils.encoding.force_unicode; on Django 1.5 under Python 3 that function doesn't exist. Instead, django.utils.encoding.force_text is the utility function for Python 3. Trying to import force_unicode, catching ImportError and falling back to importing force_text should do the trick.