Re: Getting started in Django development.

2007-02-11 Thread James Bennett
On 2/12/07, zbelzer <[EMAIL PROTECTED]> wrote: > The question I have is where does one begin on figuring out how things > work in detail (behind the scenes) and where I should start in trying > to contribute. Do I try to follow the execution of something like > syncdb or do I start somewhere else?

Getting started in Django development.

2007-02-11 Thread zbelzer
Hi all. I've been learning about and working with Django for a little while now and I have decided that I would like to help contribute to the project and community. I'm decent with python, but I still find that looking through the entire code base is pretty intimidating and trying to follow the

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Benjamin Slavin
On 2/11/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > As Honza suggested, you're already able to do this in a *much* more > generic fashion by simply subclassing the form and implementing > __init__(). I'm marking the ticket as a wontfix. Fair enough. Is there any interest in adding this to

Re: Ticket resolution question

2007-02-11 Thread [EMAIL PROTECTED]
The easiest way to do it would be to just add a new state along the lines of "accepted - wishlist" --Simon G. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Adrian Holovaty
On 2/11/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > Please see the ticket located at: > http://code.djangoproject.com/ticket/3479 > > In terms of coding this, it's a trivial change with tremendous benefit > for users and wouldn't hurt backwards compatibility within newforms. > If there's supp

Re: EnvironmentError in [4485] but not [4484]

2007-02-11 Thread Malcolm Tredinnick
On Sun, 2007-02-11 at 18:33 -0500, Benjamin Slavin wrote: > All, > > I just updated to [4485]. > > Attempts to load my site now return an 'EnvironmentError'. [1] > > If I revert to [4484] and restart Apache, all is well. > > Can I confirm that this is happening to other people? This was just

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Benjamin Slavin
On 2/11/07, Honza Král <[EMAIL PROTECTED]> wrote: > > true, but what would happen if you added two lines (or worse - an > extra argument to a generic function/method) for everything that 10% > of people would use and is easily (even though maybe little clumsily) > done without it? Certainly nothin

EnvironmentError in [4485] but not [4484]

2007-02-11 Thread Benjamin Slavin
All, I just updated to [4485]. Attempts to load my site now return an 'EnvironmentError'. [1] If I revert to [4484] and restart Apache, all is well. Can I confirm that this is happening to other people? - Ben [1] http://dpaste.com/hold/5588/ --~--~-~--~~~---~--~

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Honza Král
On 2/12/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > > On 2/11/07, Honza Kr�l <[EMAIL PROTECTED]> wrote: > > > > is this really necessary ? since you always subclass formsForm, why > > wouldn't you use: > > class PasswordChangeForm(forms.Form): > > def __init__( self, user, *args, **kwargs

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Benjamin Slavin
On 2/11/07, Honza Král <[EMAIL PROTECTED]> wrote: > > is this really necessary ? since you always subclass formsForm, why > wouldn't you use: > class PasswordChangeForm(forms.Form): > def __init__( self, user, *args, **kwargs ): > super(PasswordChangeForm, self ).__init__( *args, **kwa

Re: Passing external data to Form objects in newforms

2007-02-11 Thread Honza Král
On 2/11/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > > I've run into a few situations where I need to pass data into a Form > for validation. > > Consider, for example, a 'change password' form. > Validation of the current password is required to ensure correct > authorization. > To validate t

Passing external data to Form objects in newforms

2007-02-11 Thread Benjamin Slavin
I've run into a few situations where I need to pass data into a Form for validation. Consider, for example, a 'change password' form. Validation of the current password is required to ensure correct authorization. To validate the current password, the form needs to know the user it is validating

Re: How do I set up code profiling my application?

2007-02-11 Thread Jay Parlar
On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'd like to do some code profiling of my application/projects, and I'm > confused about how to go about it. I found a wiki entry that > references hotshot, but I'm not sure where to go from here. > > http://code.djangoproject.com/wiki/Pro

Re: Should newforms security fixes be posted to django-announce?

2007-02-11 Thread Marc Fargas Esteve
Hi, inline On 2/9/07, James Bennett <[EMAIL PROTECTED]> wrote: [...] > But on the other hand, if somebody does decide to go a little while > without an "svn up", it'd be nice to have this announced so they know > that they should update (though I have my doubts about how many people > actually su

Browse the Web faster than Internet explorer and Its free

2007-02-11 Thread coolmani
Browse the internet faster and safer by mozilla firefox and its free Just click below for FREE UPDATES and DOWNLOADS http://www.freewebs.com/msmani007/freedownloads.htm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: How do I set up code profiling my application?

2007-02-11 Thread [EMAIL PROTECTED]
note that KDE4 will be ported to windows an mac, so there are big chances for Kcachegrind on those platforms. And I've seen somewhere a python script for converting hotshot logs do kcachegrind (and wingrind ? :)) --~--~-~--~~~---~--~~ You received this message bec

Re: triage: Problem for the up-loading of non-ASCII character file name.

2007-02-11 Thread tsuyuki makoto
07/02/11 Yasushi Masuda<[EMAIL PROTECTED]> wrote: > Instead, I'd like to propose making get_valid_filename() as default > behaviour of ``filename_normalization``, and adding a > ``filename_nomalizer`` parameter in FileField's constructor, like this:: I completely agree with Yasushi. The point is