newforms - dynamic construction of a Form (relatively LC)

2007-01-24 Thread Cam MacRae
I love the way newforms is shaping up - when finished it's going to be very powerful. In the regression tests ~line 2250 there is an example for dynamic constuction of a Form /* snip It's possible to construct a Form dynamically by adding to the self.fields dictionary in __init__(). Don't

Re: svn properties ?

2007-01-24 Thread Don Arbow
On Jan 24, 2007, at 8:06 PM, Russell Keith-Magee wrote: > On 1/25/07, Sean Perry <[EMAIL PROTECTED]> wrote: >> >> For example, admin A finds out about Django downloads a tarball / >> checks out svn. He installs it to /usr/local/blah and writes some web >> apps. At some point in the future admin B

Re: multi-db branch: looking for a new maintainer

2007-01-24 Thread [EMAIL PROTECTED]
Just wanted to put a note on here...that there are people actively using this branch. I've been using it since the beginning of December...and have found it to work fantastically... ( well I did send JP a bug report today ... with a sample project ... when he told me this news ). I do hope in

Re: svn properties ?

2007-01-24 Thread Russell Keith-Magee
On 1/25/07, Sean Perry <[EMAIL PROTECTED]> wrote: > > For example, admin A finds out about Django downloads a tarball / > checks out svn. He installs it to /usr/local/blah and writes some web > apps. At some point in the future admin B has to find out why an app > is not working and it turns out

Re: svn properties ?

2007-01-24 Thread Sean Perry
On Jan 23, 2007, at 10:45 PM, Russell Keith-Magee wrote: > > On 1/24/07, Sean Perry <[EMAIL PROTECTED]> wrote: >> I could care less about most of the keywords. However, having Rev or >> Id set is handy for the sysadmin down the road trying to figure out >> where the bug came from. > > Isn't that

does locmem cache backend need to use copy.deepcopy()?

2007-01-24 Thread Gary Wilson
see http://code.djangoproject.com/ticket/3012 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from

Re: calling attention to #639

2007-01-24 Thread Gary Wilson
link for the lazy: http://code.djangoproject.com/ticket/639 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To

calling attention to #639

2007-01-24 Thread Gary Wilson
"For models with file fields (FileField/ImageField etc.) save() is called twice on manipulator form submission" Possibly causing duplicate objects to be created in the database. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: triage: Which "state" for #3279

2007-01-24 Thread Marc Fargas Esteve
Thanks Michael for the explanation, I took the ticket as example until you pointed me to comment #9 :) Cheers, Marc. On 1/25/07, Michael Radziej <[EMAIL PROTECTED]> wrote: [...] > This ticket is a bad example. It should be open, and it is only > closed since reopen does currently not work. > >

Re: triage: Which "state" for #3279

2007-01-24 Thread Michael Radziej
Hi Marc! Marc Fargas Esteve: > Hi, > In the nice graphic on > http://www.djangoproject.com/documentation/contributing/#ticket-triage > #3279 would go from "Unreviewed" to the left to "worksforme" as the > resolution, but what Triage State would it get? "Unreviewed" is not > true, as it has been

Re: triage: one third done

2007-01-24 Thread Russell Keith-Magee
On 1/25/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > just to give you an idea how fast we proceed: currently 228 out of > 655 open tickets have been reviewed, and that does not count all > those that got closed during triage! Isn't that nice? Magnificent stuff, guys! You're all

triage: Which "state" for #3279

2007-01-24 Thread Marc Fargas Esteve
Hi, In the nice graphic on http://www.djangoproject.com/documentation/contributing/#ticket-triage #3279 would go from "Unreviewed" to the left to "worksforme" as the resolution, but what Triage State would it get? "Unreviewed" is not true, as it has been reviewed, but it's not "Accepted" either

Re: extending the user model

2007-01-24 Thread James Bennett
On 1/24/07, Gary Wilson <[EMAIL PROTECTED]> wrote: > This has been talked about a few times, but nothing concrete yet. I > think one of the more popular ideas was to create a user interface for > custom user models to adhere to. So you could have whatever > fields/methods you wanted in your

Re: Encouraging contributed documentation

2007-01-24 Thread [EMAIL PROTECTED]
We have a section of the wiki listing tutorials etc here: http://code.djangoproject.com/wiki/DjangoResources Why don't we just spin that off into a new page, categorise things (e.g. Forms, building-a-blog, simple tutorials, misc. etc) and let people add their own to that page. This way the

Re: triage: one third done

2007-01-24 Thread Gary Wilson
On Jan 24, 2:50 pm, "Marc Fargas Esteve" <[EMAIL PROTECTED]> wrote: > Really nice work, congratulations! ;) Yes, good work everyone! It at least appears that there is more activity in the ticket system now ;) --~--~-~--~~~---~--~~ You received this message

Re: extending the user model

2007-01-24 Thread Gary Wilson
On Jan 20, 10:00 am, "Joseph Perla" <[EMAIL PROTECTED]> wrote: > Have you already decided on a simple, fast, non-deprecated, standard way of > extending the User model? This has been talked about a few times, but nothing concrete yet. I think one of the more popular ideas was to create a user

Re: Prefix for URLs?

2007-01-24 Thread Gary Wilson
On Jan 24, 11:03 am, "vfoley" <[EMAIL PROTECTED]> wrote: > one thing that bugs me about URL patterns is that you can specify a > prefix only for the view functions to call, not for the URLs to match. [snip] > urls.py: > urlpatterns = patterns('', prefix_url='project/', > (r'^view/(?P\d+)/$',

Re: triage: one third done

2007-01-24 Thread Marc Fargas Esteve
Really nice work, congratulations! ;) On 1/24/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > just to give you an idea how fast we proceed: currently 228 out of > 655 open tickets have been reviewed, and that does not count all > those that got closed during triage! Isn't that nice? >

multi-db branch: looking for a new maintainer

2007-01-24 Thread JP
Hi all, I'm afraid that I am not going to have time in the future to continue maintaining and merging up the multi-db branch. It's diverged so far from trunk that any trunk change that touches management.py or models results in hours of hand-merging and svn detective work... hours that I just

Re: triage: one third done

2007-01-24 Thread Adrian Holovaty
On 1/24/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > just to give you an idea how fast we proceed: currently 228 out of > 655 open tickets have been reviewed, and that does not count all > those that got closed during triage! Isn't that nice? Keep up the fantastic work, guys! Adrian --

Re: triage: one third done

2007-01-24 Thread Jeremy Dunck
On 1/24/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > just to give you an idea how fast we proceed: currently 228 out of > 655 open tickets have been reviewed, and that does not count all > those that got closed during triage! Isn't that nice? Huzzah!

Re: Encouraging contributed documentation

2007-01-24 Thread Philipp Keller
> So I'd like to propose that we draw up some guidelines for > contributing documentation for Django, and begin encouraging > documentation contributions just as much as we encourage code > contributions. I'm not 100% sure this is the right direction. As I found out there's lacking documentation

Re: svn properties ?

2007-01-24 Thread Michael Radziej
Hi, keyword expansion might be a good idea for a single file with the only purpose to make the svn release number available. Then you could really find out whether someone is using a current or a rather old release. +1 for this, -1 for using keyword expansion for all files. Michael -- noris

Re: Encouraging contributed documentation

2007-01-24 Thread Aidas Bendoraitis
+1 for both suggestions: a) Combined documentation for filling all the gaps. Actually, existing wiki (code.djangoproject.com) could be used. b) Django documentation in CHM format. CHM can be used on Mac OS X (Chmox) and Linux (xCHM) as well as on Windows and it is very convenient (Personally, I

Re: Looking up into an ordered list... A new feature?

2007-01-24 Thread Honza Král
On 1/23/07, Yann VR <[EMAIL PROTECTED]> wrote: > > How to achieve to search within a list of id that have been > sorted in a precise way? you have to sort it yourself > > the __in lookup tag will automatically reorder the list > by ascendancy (and I reckon in_bulk does the same too). > > I have