pull/6484/head
Karl Hobley 2020-10-21 16:43:04 +01:00
rodzic aa4a1e37b6
commit 76e8704c27
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -355,7 +355,7 @@ class Locale(models.Model):
@classmethod
def get_default(cls):
"""
Returns the default Locale based on the site's LOCALE_CODE setting
Returns the default Locale based on the site's LANGUAGE_CODE setting
"""
return cls.objects.get_for_language(settings.LANGUAGE_CODE)