Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2011-07-14 Thread Luke Plant
On 10/07/11 22:26, Chris Beaven wrote: > To clarify, didn't even notice we were talking about models.Field, I'm > +0 for a 'strip' attribute on the form's field, nothing on the model. Like Chris, I don't think we can put this feature anywhere on model definition. It is clearly an issue of how a

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2011-07-14 Thread Simon Charette
How is that supposed to interact with the `cleaning` mechanism of the field? -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/BNMXjILUK7gJ. To

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2011-07-14 Thread Alex Kamedov
Hi all! I like patch 2 [1] for ticket #6362. It has docs and tests, but Yuri propose more interesting way. +1 for somthing like SomeField(validators=[...], processors=[...]) where `processors` is used for normalize value to common format, and `validators` is used for validate this value. [1]

Re: Deferred constraint checking causing problems during test runs

2011-07-14 Thread Simon Riggs
On Thu, Jul 14, 2011 at 2:36 PM, Jim Dalton wrote: > So in normal, everyday use, Django opens a connection to Postgresql with an > open transaction. Per the docs, it commits this transaction immediately > whenever you do an INSERT or UPDATE etc. At that point Postgresql

Re: Deferred constraint checking causing problems during test runs

2011-07-14 Thread Jim Dalton
On Jul 14, 2011, at 1:31 AM, Simon Riggs wrote: > On Sun, Jul 10, 2011 at 3:27 PM, Jim Dalton wrote: >> On Jul 10, 2011, at 3:13 AM, Simon Riggs wrote: >> >>> Maintaining the property of deferrable constraints seems important >>> here, so changing the deferrability of

Re: Deferred constraint checking causing problems during test runs

2011-07-14 Thread Simon Riggs
On Sun, Jul 10, 2011 at 3:27 PM, Jim Dalton wrote: > On Jul 10, 2011, at 3:13 AM, Simon Riggs wrote: > >> Maintaining the property of deferrable constraints seems important >> here, so changing the deferrability of constraints, or overriding it >> using the SET CONSTRAINTS

Re: Djangopeople.net status

2011-07-14 Thread Bruno Renié
On Wed, Jul 13, 2011 at 5:49 PM, Yonsy Manuel Solis Ponce wrote: > well, i am interested to help > we need to fork in github from https://github.com/brutasse/djangopeople.net > ? Yes, the fork tree is slightly confusing but this repo contains all the work that's been done