Re: Allowing single values instead of tuples for choices in ChoiceField

2009-08-09 Thread andybak
It does get slightly uglier when you have cases such as: f = CharField(choices=zip (some_complex_expression_that_generates_a_list, some_complex_expression_that_generates_a_list)) You don't really want to assign the expression to a variable within your model and if you put it elsewhere then it hur

Re: 1.2 Proposal: Add a few more tutorial steps

2009-08-09 Thread Bryan Veloso
On Aug 8, 9:51 am, Dave Jeffery wrote: > Just a quick note that I would be happy to help out with this area of the > docs too. Same here. Should we create a wiki page to coordinate this? --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Allowing single values instead of tuples for choices in ChoiceField

2009-08-09 Thread Daniel Roseman
On Aug 9, 8:41 am, andybak wrote: > It does get slightly uglier when you have cases such as: > f = CharField(choices=zip > (some_complex_expression_that_generates_a_list, > some_complex_expression_that_generates_a_list)) > > You don't really want to assign the expression to a variable within > yo

Re: 1.2 Proposal: Add a few more tutorial steps

2009-08-09 Thread Russell Keith-Magee
On Sun, Aug 9, 2009 at 4:00 PM, Bryan Veloso wrote: > > On Aug 8, 9:51 am, Dave Jeffery wrote: > >> Just a quick note that I would be happy to help out with this area of the >> docs too. > > Same here. Should we create a wiki page to coordinate this? I suggest using Trac. If you want to propose

django-updates dead?

2009-08-09 Thread Karen Tracey
django-updates has had no updates since August 6th. This happened a couple times before and was eventually fixed, somehow. Does anyone know if it is the same problem now and if so how to fix it again? Karen --~--~-~--~~~---~--~~ You received this message because

Re: Allowing single values instead of tuples for choices in ChoiceField

2009-08-09 Thread Malcolm Tredinnick
On Sun, 2009-08-09 at 00:41 -0700, andybak wrote: > It does get slightly uglier when you have cases such as: > f = CharField(choices=zip > (some_complex_expression_that_generates_a_list, > some_complex_expression_that_generates_a_list)) > > You don't really want to assign the expression to a vari