db_type is called more than documented.

2013-11-20 Thread schinckel
I maintain the django-jsonfield module, and I have, as the documentation suggests, some relatively expensive code in JSONField.db_type. The documentation is pretty clear on this as being _the_ place to put a test like this (that checks to see if the database can handle a json field type, or if

Re: Related manager remove() and clear() methods - backwards incompatible changes

2013-11-20 Thread Shai Berger
Hi, On Saturday 16 November 2013 21:02:00 Anssi Kääriäinen wrote: > Any feedback for pre/post_update idea? > As Loic said, the signals sound like they can be useful in a variety of situations. A couple of notes, though: > pre_update listeners get a queryset that isn't executed. The "query" par

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Adam Smith
You are right, I should have checked out those release notes. Thanks Baptiste! -- 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..

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Baptiste Mispelon
Hi Adam, Django 1.6 only supports Python 2.6 and older [1] and Django 1.7 will support Python 2.7 onwards [2]. [1] https://docs.djangoproject.com/en/1.6/releases/1.6/#python-compatibility [2] https://docs.djangoproject.com/en/dev/releases/1.7/#python-compatibility Cheers, Baptiste On 11/20/2

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Adam Smith
Hi Shai, Just FYI, on github @charettes merge my PR replacing almost all `meth = classmethod(meth)` with `@classmethod`. So I assume you guys are going to drop support for python2.4 and older, right? Best Regards Adam -- You received this message because you are subscribed to the Goo