Dynamic choice on Model

2008-06-03 Thread wulfrano
Hi, I'm creating a model with a field as follows: trackno = models.PositiveSmallIntegerField(choices=SONGNO_CHOICES) I try to create the SONGNO_CHOICES tuple with this code: dict = {} j = 0 while j<100: dict[j]=(j,j+1) j=j+1 SONGNO_CHOICES = dict When a try to validate my model, Djang

Difference between using postgresql_psycopg2 vs postgresql

2008-05-24 Thread wulfrano
Just want to figure out what are the pros & cons of both. Thanks for the reply. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com