Re: Ticket 19445

2013-05-06 Thread Aymeric Augustin
On 7 mai 2013, at 03:04, Russell Keith-Magee wrote: > That might result in some refactoring of the Admin's validation code, but I'm > not sure actually improving the Admin validation itself is on the project > schedule. I was mostly referring to the addition of validation warnings. False pos

Re: Recommending a Python 3-compatible MySQL connector

2013-05-06 Thread Aymeric Augustin
On 6 mai 2013, at 23:38, Travis Jensen wrote: > On Sunday, May 5, 2013 2:46:43 PM UTC-6, Aymeric Augustin wrote: > On 5 mai 2013, at 21:15, Ian Clelland wrote: > > > I don't object at all -- as long as the code it still passing tests, that > > is :) > > > So, given that the tests aren't pa

Re: Ticket 19445

2013-05-06 Thread Russell Keith-Magee
On Mon, May 6, 2013 at 12:46 AM, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > Hi Luke, > > I'm also skeptical about validation when: > - it tries to analyze statically dynamic behaviors; > - it fails on code that actually works. > > To me it looks like the admin outgrew its own

Re: Recommending a Python 3-compatible MySQL connector

2013-05-06 Thread Travis Jensen
On Sunday, May 5, 2013 2:46:43 PM UTC-6, Aymeric Augustin wrote: > > On 5 mai 2013, at 21:15, Ian Clelland > > wrote: > > > I don't object at all -- as long as the code it still passing tests, > that is :) > > So, given that the tests aren't passing, what does that mean? I've played around w

Re: Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Radomir Wojcik
Thanks Karen, I will post it in the correct group. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post t

Re: Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fro

Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Radomir Wojcik
I was looking at examples using 'raise ValidationError' but I don't want to raise an error based on the value of something. I always want the user to be prompted with a "Are you sure you want to save this?" every time they hit "save" : if request.method == 'POST': form = LocationFor

Re: Ticket 19445

2013-05-06 Thread Iván Raskovsky
Hi Luke, The static validation also breaks some third party apps like django-hvad[0] and makes it very ugly to work around[1]. I agree with removing it altogether, or at least make it simple to disable it when using apps that change the form dynamically. Regards, Iván [0] https://github.com/K