mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Handle example usage for Django 1.9
Django 1.9 makes the languages setting a list of tuples.
This commit is contained in:
parent
4615e1e8fb
commit
0a4cae9c2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue