please help me about enum attribute..

2010-01-12 Thread 'chiru'tha
Hi every one.. i got a problem.. please help me.. I create a class for my model, in that class i declare an property gender and i make it as enum.. it stores M or F only to the database. the sample code is shown bellow.. GENDER_CHOICES = ( (u'M', u'Male'), (u'F', u'Female'),

can anybody help me whats the wrong...

2009-12-29 Thread 'chiru'tha
Hi to all, when i' running the helloworld example, i get this error.. But when i remove the statements corresponds to the options.py module its working fine.. and one thing is when i run the same code with options.py module on the other mechine its working fine.. so the problem with options.py