Make available languages configurable

This commit is contained in:
Raphael Michel
2015-04-06 00:14:59 +02:00
parent 95c31ec3f6
commit febfea68f7
8 changed files with 160 additions and 25 deletions

View File

@@ -41,6 +41,10 @@ DEFAULTS = {
'default': settings.TIME_ZONE,
'type': str
},
'locales': {
'default': json.dumps([settings.LANGUAGE_CODE]),
'type': list
},
'locale': {
'default': settings.LANGUAGE_CODE,
'type': str