Re: i have a question about model

2009-05-23 Thread andrew
...@gmail.com> wrote: > hi, everyone, > > i have a question about model. i define some models, but some will > return the records, while some only return the counts of the records > on the web page? > > class cancer(models.Model):         # it returns the count of reco

Re: i have a question about model

2009-05-22 Thread R. Gorman
I do not see any reason why the models you have provided would behave in that manner. I would suggest posting the view you are using to return the records. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

i have a question about model

2009-05-22 Thread Herta
hi, everyone, i have a question about model. i define some models, but some will return the records, while some only return the counts of the records on the web page? class cancer(models.Model): # it returns the count of records CancerID = models.CharField(max_length=8) NCIID