Re: The Django Book, and outdated information

2008-12-06 Thread Adam Jenkins
On Sat, Dec 6, 2008 at 11:54 AM, David Zhou <[EMAIL PROTECTED]> wrote: > > On Sat, Dec 6, 2008 at 10:02 AM, Ludvig Ericson > <[EMAIL PROTECTED]> wrote: > > > > On Dec 6, 2008, at 09:07, David Zhou wrote: > >> Is it possible to reword the introduction on the Django Book website > >>

Re: BitmaskField

2008-12-06 Thread Craig Kimerer
Andrew: Thanks, that looks awesome. The whole BitMaskField(choices=LIST) idea scares me. You must then force extra knowledge on the user that ordering is important. If programmer Y decides the list of choices looks better in alphabetical order (or decides to add a choice in the middle of the

Re: SessionWizard

2008-12-06 Thread David Cramer
Would have to look at how FormPreview's work, but I agree. So far what I've done with the wizard is remove all of the data from the session as much as possible. It calculates cleaned_data at the very end and only stores the POST values (still need to solve a potential exploit). One thing I

Re: BitmaskField

2008-12-06 Thread David Cramer
Awesome to see some people working on this. I had tried pre-queryset refactor and It was just not doable witht he fields API. Can't wait to see the final result of this :) I'm also agreeing with the API of field = BitMaskField(choices=LIST) On Dec 6, 10:37 am, Carl Meyer <[EMAIL PROTECTED]>

Re: The Django Book, and outdated information

2008-12-06 Thread David Zhou
On Sat, Dec 6, 2008 at 10:02 AM, Ludvig Ericson <[EMAIL PROTECTED]> wrote: > > On Dec 6, 2008, at 09:07, David Zhou wrote: >> Is it possible to reword the introduction on the Django Book website >> (http://www.djangobook.com/) or perhaps somehow update it? > > I fail to see what this has to do

Re: BitmaskField

2008-12-06 Thread Carl Meyer
@Andrew: Thanks! That's precisely the missing piece from my code; if I get some time to put it all together, I think it'll be a full solution. My approach uses sets of arbitrary flag values rather than creating constants for flags, and it's implemented as a normal model field, which seems a

Re: The Django Book, and outdated information

2008-12-06 Thread Ludvig Ericson
On Dec 6, 2008, at 09:07, David Zhou wrote: > Is it possible to reword the introduction on the Django Book website > (http://www.djangobook.com/) or perhaps somehow update it? I fail to see what this has to do with the development of Django. Ludvig Ericson [EMAIL PROTECTED]

The Django Book, and outdated information

2008-12-06 Thread David Zhou
Is it possible to reword the introduction on the Django Book website (http://www.djangobook.com/) or perhaps somehow update it? There's been several recent threads on Django Users from people who have followed along the book. And unsurprisingly, they ran into issues with Django 1.0+. A search