…malized usage count, a user property and some query optimizations.
…azepstein for the patch.
…ading the object to keep everything in sync. Thanks ebartels and carljm for the legwork.
…on 2.5 and 2.6. Thanks phxx.de for the report.
Huge thanks to anball for providing a working patch
… django 1.0 beta 2
The deletion method for descriptors is __delete__ not __del__: http://docs.python.org/ref/descriptors.html The __del__ method is for the base descriptor instance itself. This was causing problems in apache and mod_wsgi at shutdown. This was not noticed until shutdown because of the registry which holds onto the models until the process terminates and the cyclical garbage collection kicks in. If you were seeing errors like: [Fri Aug 15 01:33:39 2008] [error] Exception exceptions.TypeError: '__del__() takes exactly 2 arguments (1 given)' in <bound method TagDescriptor.__del__ of <tagging.managers.TagDescriptor object at 0x1a7e5d0>> ignored [Fri Aug 15 01:33:39 2008] [error] Exception exceptions.TypeError: '__del__() takes exactly 2 arguments (1 given)' in <bound method TagDescriptor.__del__ of <tagging.managers.TagDescriptor object at 0x1a7e5d0>> ignored This bug was the reason for it.
There are other issues when running with django-1.0a which have yet to be addressed.
…have been explicitly excluded by a given queryset
… non-existant tags in MySQL and Postgres
…k Malcolm!), adding a usage_for_queryset method to TagManager which is only usable with queryset-refactor in place. Thanks to jpwatts and newmaniese for the patches.
… have generic relations, containing a fetch_content_objects function
…n't being removed and the list of tag names wasn't sorted
…ch are registered
… with the tagging module
…AG_LENGTH setting and a big backwards-incompatible change which will TAKE YOU OUT if you've updated without checking the site beforehand - better now than later, sorry!
…min_weight is greater than one
…ising tags were given
…its distribution argument on to calculate_cloud