Package: django-tagger
# Django TaggerThis is a generic tagging application for Django projectsThis package requires Python 3.7 or later, and Django 2.2 or later.Django Tagger ChangelogVersion 0.0.1, June 2023:Initial releaseDjango Tagging ChangelogVersion 0.5.0, 6th March 2020:Drop support for Python 2.Compatiblity fix for Django 2.2 and Django 3.0.Version 0.4.6, 14th October 2017:Fix IntegrityError while saving inconsistent tagsUpdate tag name length to use MAX_TAG_LENGTH settingVersion 0.4.5, 6th September 2016:Fix on the previous compatiblity fix.Version 0.4.4, 5th September 2016:Compatiblity fix for Django 1.10Version 0.4.3, 3rd May 2016:Add missing migration foron_deleteVersion 0.4.2, 2nd May 2016:Fix tag weightReduce warnings for recent versions of DjangoVersion 0.4.1, 15th January 2016:Typo fixesSupport appsVersion 0.4, 15th June 2015:Modernization of the packageVersion 0.3.6, 13th May 2015:Corrected initial migrationVersion 0.3.5, 13th May 2015:Added support for Django 1.8Using migrations to fix syncdbRename get_query_set to get_querysetImport GenericForeignKey from the new locationVersion 0.3.4, 7th November 2014:Fix unicode errors in adminVersion 0.3.3, 15th October 2014:Added support for Django 1.7Version 0.3.2, 18th February 2014:Added support for Django 1.4 and 1.5Added support for Python 2.6 to 3.3Added tox to test and coverageVersion 0.3.1, 22nd January 2010:Fixed Django 1.2 support (did not add anything new)Fixed #95 - tagging.register won’t stomp on model attributesVersion 0.3.0, 22nd August 2009:Fixes for Django 1.0 compatibility.Added atagging.genericmodule for working with list of objects
which have generic relations, containing afetch_content_objectsfunction for retrieving content objects for a list ofTaggedItem``susing ``number_of_content_types + 1queries rather than thenumber_of_tagged_items * 2queries you’d get by iterating over the
list and accessing each item’sobjectattribute.Added ausagemethod toModelTagManager.TaggedItemManager’s methods now accept aQuerySetor aModelclass. If aQuerySetis given, it will be used as the
basis for theQuerySet``sthe methods return, so can be used to restrict results to a subset of a model's instances. The `tagged_object_listgeneric view and ModelTaggedItemManager``
manager have been updated accordingly.Removedtagging\tests\runtests.py, as tests can be run withdjango-admin.pytest--settings=tagging.tests.settings.Atagging.TagDescriptoris now added to models when registered.
This returns atagging.managers.ModelTagManagerwhen accessed on a
model class, and provide access to and control over tags when used on
an instance.Addedtagging.registerto register models with the tagging app.
Initially, atagging.managers.ModelTaggedItemManageris added for
convenient access to tagged items.MovedTagManagerandTaggedItemManagertomodels.py- gets
rid of some import related silliness, asTagManagerneeds access
toTaggedItem.Version 0.2.1, 16th Jan 2008:Fixed a bug with space-delimited tag input handling - duplicates
weren’t being removed and the list of tag names wasn’t sorted.Version 0.2, 12th Jan 2008:Packaged from revision 122 in Subversion; download athttp://django-tagging.googlecode.com/files/tagging-0.2.zipAdded atag_cloud_for_modeltemplate tag.Added aMAX_TAG_LENGTHsetting.Multi-word tags are here - simple space-delimited input still works.
Double quotes and/or commas are used to delineate multi- word tags.
As far as valid tag contents - anything goes, at least initially.BACKWARDS-INCOMPATIBLE CHANGE -django.utils.get_tag_name_listand
related regular expressions have been removed in favour of a new tag
input parsing function,django.utils.parse_tag_input.BACKWARDS-INCOMPATIBLE CHANGE -TagandTaggedItemno longer
declare an explicitdb_table. If you can’t rename your tables,
you’ll have to put these back in manually.Fixed a bug in calculation of logarithmic tag clouds -font_sizeattributes were not being set in some cases when the least used tag in
the cloud had been used more than once.For consistency of return type,TaggedItemManager.get_by_modelnow
returns an emptyQuerySetinstead of an emptylistif
non-existent tags were given.Fixed a bug caused bycloud_for_modelnot passing itsdistributionargument tocalculate_cloud.AddedTaggedItemManager.get_union_by_modelfor looking up items
tagged with any one of a list of tags.AddedTagManager.add_tagfor adding a single extra tag to an
object.Tag names can now be forced to lowercase before they are saved to the
database by adding the appropriateFORCE_LOWERCASE_TAGSsetting to
your project’s settings module. This feature defaults to being off.Fixed a bug where passing non-existent tag names toTaggedItemManager.get_by_modelcaused database errors with some
backends.Addedtagged_object_listgeneric view for displaying paginated
lists of objects for a given model which have a given tag, and
optionally related tags for that model.Version 0.1, 30th May 2007:Packaged from revision 79 in Subversion; download athttp://django-tagging.googlecode.com/files/tagging-0.1.zipFirst packaged version using distutils.