Updated documentation regarding .get()

This commit is contained in:
Swen Kooij 2016-12-16 08:50:36 +02:00
parent 98cc4c08d1
commit 6c17eec48f

View File

@ -128,7 +128,7 @@ Or get it in a specific language:
print(new.title.get('en')) # prints 'english title'
print(new.title.get('ro')) # prints 'romanian title'
print(new.title.get()) # whatever language is the currently active one
print(new.title.get()) # whatever language is the primary one
You can also explicitly set a value in a certain language: