#17980: Tests fail when i18n set to True.
------------------------------+------------------------------------
     Reporter:  wassup        |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  contrib.auth  |                  Version:  1.4
     Severity:  Normal        |               Resolution:
     Keywords:  tests         |             Triage Stage:  Accepted
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by claudep):

 OK, now the question is which language is active when the proxy string is
 translated to the real string. It should be 'en' and apparently it is not.
 Could you also debug the current language in the test ({{{from
 django.utils.translation import get_language; print get_language()}}})?

 If it is not 'en', it may be that you are modifying the current language
 somewhere in your code, either in a view or in a middleware.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17980#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to