Changes between Version 2 and Version 3 of Ticket #29712, comment 36
- Timestamp:
- Oct 24, 2020, 9:38:06 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29712, comment 36
v2 v3 1 Can we use {{{ LANG_INFO from django.conf.locale}}} in order to solve the conflict or as an alternative of {{{language_code_re}}}? If yes, then please confirm so that I may submit a patch, and also please suggest some way to use the same.1 Can we use {{{ LANG_INFO from django.conf.locale}}} in order to solve the conflict and raise the warning or as an alternative of {{{language_code_re}}}? If yes, then please confirm so that I may submit a patch, and also please suggest some way to use the same. 2 2 OR 3 We could even use the regex from {{{language_code_re}}} which is {{re.compile(r'^[a-z]{1,8}(?:-[a-z0-9]{1,8})*(?:@[a-z0-9]{1,20})?$', re.IGNORECASE)}}} .3 We could even use the regex from {{{language_code_re}}} which is {{re.compile(r'^[a-z]{1,8}(?:-[a-z0-9]{1,8})*(?:@[a-z0-9]{1,20})?$', re.IGNORECASE)}}} to solve the conflict and raise the warning. 4 4 5 5 Please suggest the best option to work on, for the patch.