Changes between Initial Version and Version 1 of Ticket #25223
- Timestamp:
- Aug 5, 2015, 2:42:55 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25223
- Property Summary Getting DjangoTranslation that doesn't exist should return None → Setting LANGUAGE_CODE to a language that doesn't exist in django/conf/locale raises IOError
-
Ticket #25223 – Description
initial v1 1 1 Getting a DjangoTranslation that doesn't exist used to return None. 2 2 3 Since [https://github.com/django/django/commit/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45#diff-5682903b7aed1649cdb7095331e90d0d this commit] it raises an IOError when using a n unavailable language.3 Since [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. 4 4 5 5 [https://github.com/django/django/blob/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45/tests/i18n/tests.py#L1344 This test] suggests this is wanted behaviour.