Changes between Initial Version and Version 1 of Ticket #31911, comment 2


Ignore:
Timestamp:
Aug 20, 2020, 5:27:38 AM (4 years ago)
Author:
George Tantiras

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31911, comment 2

    initial v1  
    1 The example project resulted after stripping down [https://github.com/raratiru/django-letsagree, django-letsagree] which uses `get_language` (through [https://github.com/matthiask/django-translated-fields, `django-translated-fields`]) in the `ModelForm` to allow only certain fields to appear in the relevant admin page.
     1The example project resulted after stripping down [https://github.com/raratiru/django-letsagree, django-letsagree] which uses `get_language()` (through [https://github.com/matthiask/django-translated-fields, `django-translated-fields`]) in the `ModelForm` to allow only certain fields to appear in the relevant admin page.
    22
    3 As a user who has set `USE_I18N  = True`, I would expect of `get_language` to at least return the default language, as per the "notion" I get from the docs of [https://docs.djangoproject.com/en/dev/ref/settings/#language-code, `LANGUAGE_CODE`]:
     3As a user who has set `USE_I18N  = True`, I would expect of `get_language()` to at least return the default language, as per the "notion" I get from the docs of [https://docs.djangoproject.com/en/dev/ref/settings/#language-code, `LANGUAGE_CODE`]:
    44
    55
Back to Top