|
Posted
almost 18 years
ago
The second public release of Django Tagging is available for download.
Version 0.2 brings:
Multi-word tags. Anyone who was waiting for this can thank Jeff Croft for poking me at just the right time.
Tags can be either space-delimited or
... [More]
comma-delimited.
Double quotes may also be used to identify a multi-word tag, if it needs to contain commas or if you just like double quotes a lot.
Comma-delimited tags are triggered by having a non-quoted comma anywhere in your tag input.
Unclosed double quotes will be ignored.
Querying for unions of tags (tag1 OR tag2 OR tag3) in addition to the existing intersection and single tag lookups.
Tag names can now be forced to lowercase before they are saved to the database by adding the appropriate FORCE_LOWERCASE_TAGS setting to your project settings module. This feature defaults to being off.
A tagged_object_list generic view for displaying paginated lists of objects for a given model which have a given tag, and optionally - related tags for the model.
A new template tag, tag_cloud_for_model.
Miscellaneous bug fixes.
This release also includes a significant backwards-incompatible change - the Tag and TaggedItem models no longer explicitly set their database table names using the db_table option. If you're upgrading, you'll have to change the names of your database tables to tagging_tag and tagging_taggeditem or, if that's out of the question for some reason, restore the old db_table options in your copy of Django Tagging.
The next release will focus on making tags easier to work with by allowing you to register your Django models with the tagging application for the addition of custom Managers/instance methods, instead of having to work with TagManager and TaggedItemManager all the time through Tag.objects and TaggedItem.objects respectively. [Less]
|