Re: choices field language

2016-06-21 Thread Luis Zárate
Use in the first line #- coding: utf-8 from __future__ import unicode_literals And put in models from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class MyClass(object): def __str__(self): return "Instance of my class" See more in

Re: choices field language

2016-06-21 Thread ludovic coues
Python 3 have a better support of international alphabet. 2016-06-20 23:44 GMT+02:00 Xristos Xristoou : > hello i want to use choices in my field but not work if i write in my > language(greek) only work in the england language. > if i writing choices in my language show me

choices field language

2016-06-20 Thread Xristos Xristoou
hello i want to use choices in my field but not work if i write in my language(greek) only work in the england language. if i writing choices in my language show me error message in the admin mode (this choose is not valid),any idea how to fix that ?i have python 2.7 -- You received this