Pārlūkot izejas kodu

Updated link with valid options for LANGUAGE_CODE in global_settings.py.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
r0Zh-ovanya 6 mēneši atpakaļ
vecāks
revīzija
4b65dc2f21
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4 2
      django/conf/global_settings.py

+ 4 - 2
django/conf/global_settings.py

@@ -43,8 +43,10 @@ TIME_ZONE = "America/Chicago"
 # If you set this to True, Django will use timezone-aware datetimes.
 USE_TZ = True
 
-# Language code for this installation. All choices can be found here:
-# http://www.i18nguy.com/unicode/language-identifiers.html
+# Language code for this installation. Valid choices can be found here:
+# https://www.iana.org/assignments/language-subtag-registry/
+# If LANGUAGE_CODE is not listed in LANGUAGES (below), the project must
+# provide the necessary translations and locale definitions.
 LANGUAGE_CODE = "en-us"
 
 # Languages we provide translations for, out of the box.