Re: ValidationError for fields

2013-08-20 Thread Simon Litchfield
An improvement for sure. Any reason it can't be a little more pythonic, ie using optional kwargs etc? My only concern is in having two ways of achieving the same thing. If the latter is simpler and more flexible, does this place our entire ValidationError approach to handling form and model err

Re: Idiot makes mistake

2013-08-20 Thread Donald Stufft
On Aug 20, 2013, at 1:38 PM, "Daniele Procida" wrote: > I am so sorry, no sooner than I am entrusted with the commit bit I have > managed to push -f to django/django instead of my own fork, and God knows > what kind of mess I have made. > > I am covered in shame and swear never to use -f aga

Idiot makes mistake

2013-08-20 Thread Daniele Procida
I am so sorry, no sooner than I am entrusted with the commit bit I have managed to push -f to django/django instead of my own fork, and God knows what kind of mess I have made. I am covered in shame and swear never to use -f again. So sorry, a million abject apologies. Daniele -- You receiv

Re: Any Tutorials on Django similar to Web2py ????????????????

2013-08-20 Thread Karen Tracey
Please do not crosspost to both django-users and django-developers, pick the right list and post there only. If you're interested a such a tutorial from a learning perspective the correct list is django-users, not here. The topic of this list is the development of Django itself (so if you were inte

Any Tutorials on Django similar to Web2py ????????????????

2013-08-20 Thread JAI PRAKASH SINGH
Any Tutorials on Django similar to Web2py -- 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. T

Re: Proposal: A diagram showing Class Based View inheritance and mixins.

2013-08-20 Thread mjl Martin J. Laubach
I've used this one http://epydoc.pythondiary.com/generic-views/ with good results. Very low-level but totally useful. mjl -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails

Re: Proposal: A diagram showing Class Based View inheritance and mixins.

2013-08-20 Thread George Hickman
Seth, This sounds like a great idea. I believe the folks behind ccbv.co.uk are also trying to do something like this, maybe you could collaborate with them? George On Monday, August 19, 2013 8:40:36 PM UTC+1, Seth Moon wrote: > > Such as one for each of the pink CBVs (CreateView, UpdateView, e

Re: ValidationError for fields

2013-08-20 Thread Marc Tamlyn
Yeah I'm definitely on the "document add_error first, ValidationError(dict) as a more powerful alternative". The second option is necessary to do clever things directly from Model.clean() Marc On 20 August 2013 07:07, Anssi Kääriäinen wrote: > On 08/20/2013 08:26 AM, Loic Bistuer wrote: > >> A