Re: Model field choices

2010-09-28 Thread Derek
Thanks, Steve. Sounds like a plan. On Sep 28, 10:48 pm, Steve Holden wrote: > On 9/28/2010 10:39 PM, Derek wrote: > > > I have a model which has choices specified for the "offer_type" field: > > > class Coupon(models.Model): > >    offer_types = ( > >            (1, 'Percentage Off'), > >    

Re: Model field choices

2010-09-28 Thread Steve Holden
On 9/28/2010 10:39 PM, Derek wrote: > I have a model which has choices specified for the "offer_type" field: > > class Coupon(models.Model): > offer_types = ( > (1, 'Percentage Off'), > (2, 'Amount Off'), > (3, 'Free'), > ) > > business