newforms SortedDictFromList needed still?

2007-10-13 Thread SmileyChris
[6506] fixed #5744. Do we still need django.newforms.forms::SortedDictFromList? The only thing which the newforms code has extra is its own copy function which uses deepcopy. I'm at a loss to see why we're using it there and not on the main SortedDict copy method.

RE: Proposal: form_for_model exclude_fields

2007-10-13 Thread Michael Elsdoerfer
> I'd like to add an 'exclude_fields' keyword argument to > form_for_model, etc. exclude_fields would be a list of field names > that should be excluded from the form. Maybe you are already aware of this, but I believe you can exclude fields if you return None in the formfield callback. It's not

Re: Problem: Sessions won't store anything

2007-10-13 Thread Antoni Aloy
I have also aproblem with sessions, and I filed a ticket. My workaround is not to use sqlite as a database cache, and use a memory based backed and store session in cache. It's a very anonying bug for me, as our development team uses sqlite as a common database.

Problem: Sessions won't store anything

2007-10-13 Thread Johannes Dahlström
Hello, I previously posted to Django Users about this problem, but didn't get any replies, so a friend recommended raising the issue here too. Here's a link to my earlier message: http://preview.tinyurl.com/3e5q8p Thanks in advance for any help, - Johannes

Proposal: form_for_model exclude_fields

2007-10-13 Thread Joseph Kocherhans
I'd like to add an 'exclude_fields' keyword argument to form_for_model, etc. exclude_fields would be a list of field names that should be excluded from the form. If both 'fields' and 'exclude_fields' were passed in, exclude_fields would win for any field that existed in both lists. Any objections