Re: new syntax for management commands

2012-08-11 Thread Russell Keith-Magee
On Sun, Aug 12, 2012 at 5:26 AM, dffdgsdfgsdfhjhtre wrote: > https://github.com/zacharyvoase/django-boss > http://blog.zacharyvoase.com/2009/12/09/django-boss/ > > What is the outlook of something like this replacing the current way > management commands are handled by django?

Re: #18557: get_or_create() causes a race condition with MySQL

2012-08-11 Thread Karen Tracey
On Thu, Aug 9, 2012 at 5:58 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Sorry, please ignore that last message, I see now that you > were referring to this: > > https://docs.djangoproject.com/en/dev/ref/databases/#autocommit-mode > > So essentially, the

new syntax for management commands

2012-08-11 Thread dffdgsdfgsdfhjhtre
https://github.com/zacharyvoase/django-boss http://blog.zacharyvoase.com/2009/12/09/django-boss/ What is the outlook of something like this replacing the current way management commands are handled by django? I'm no the author of django-boss, but I think this syntax is much better and more

Re: Python 3 - style question

2012-08-11 Thread Aymeric Augustin
On 11 août 2012, at 11:00, Aymeric Augustin wrote: > Thanks for all your answers. A decorator will indeed be the cleanest solution. Given the large number of existing __unicode__ methods (66 in django, 375 in the tests) I've written a custom 2to3 fixer to perform the transformation.