Re: I have a class in my Models that contains one field which happens to be an integer type

2007-07-21 Thread jeffself
On Jul 20, 11:09 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/21/07, jeffself <[EMAIL PROTECTED]> wrote: > > > > > How do I get the season to > > display in the select box of my season field on the Game form? > > Normally this would be fixed by using def __unicode__(self) but sinc

Re: I have a class in my Models that contains one field which happens to be an integer type

2007-07-20 Thread Russell Keith-Magee
On 7/21/07, jeffself <[EMAIL PROTECTED]> wrote: > > How do I get the season to > display in the select box of my season field on the Game form? > Normally this would be fixed by using def __unicode__(self) but since > its not a CharField, I can't use that. I tried def __integer__(self) > but that

I have a class in my Models that contains one field which happens to be an integer type

2007-07-20 Thread jeffself
In my model for my application, I've created a class called Season. There is only one field in this class and that is called year and its of type integer. In another class called Game, I have a field called season which is a ForeignKey to Season. When I bring up the add Game form in the Admin, m