Changes between Initial Version and Version 1 of Ticket #25223


Ignore:
Timestamp:
Aug 5, 2015, 2:42:55 AM (9 years ago)
Author:
Sander van Leeuwen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25223

    • Property Summary Getting DjangoTranslation that doesn't exist should return NoneSetting LANGUAGE_CODE to a language that doesn't exist in django/conf/locale raises IOError
  • Ticket #25223 – Description

    initial v1  
    11Getting a DjangoTranslation that doesn't exist used to return None.
    22
    3 Since [https://github.com/django/django/commit/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45#diff-5682903b7aed1649cdb7095331e90d0d this commit] it raises an IOError when using an unavailable language.
     3Since [https://github.com/django/django/commit/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45#diff-5682903b7aed1649cdb7095331e90d0d this commit] it raises an IOError when using a language that's not available in django.
    44
    55[https://github.com/django/django/blob/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45/tests/i18n/tests.py#L1344 This test] suggests this is wanted behaviour.
Back to Top