kopia lustrzana https://github.com/wagtail/wagtail
Fix docstring
rodzic
aa4a1e37b6
commit
76e8704c27
|
@ -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)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue