Handle example usage for Django 1.9

Django 1.9 makes the languages setting a list of tuples.
This commit is contained in:
Mauricio de Abreu Antunes 2016-01-08 12:45:43 -02:00
parent 4615e1e8fb
commit 0a4cae9c2b

View file

@ -54,7 +54,7 @@ setting other values, e.g.::
@property
def LANGUAGES(self):
return Configuration.LANGUAGES + (('tlh', 'Klingon'),)
return list(Configuration.LANGUAGES) + [('tlh', 'Klingon')]
Configuration mixins
--------------------