Adding a TagField to a model allows it to be tagged, but the TagField's
descriptor always and only
returns a string containing the tag names, and provides no way whatsoever of
accessing or -- more
importantly -- iterating over the objects themselves. To get that
functionality, one must *also*
apply the registration mechanism (and potentially supply a descriptor name).
This would be much simpler if the TagField descriptor simply behaved like any
other related-object
descriptor (i.e., if it were a manager through which the related instances
could be accessed and
iterated over). I'd expect that since all other relations in Django work this
way, doing so for tags
would make it easier to get up to speed.
Original issue reported on code.google.com by ubernost...@gmail.com on 9 Jun 2008 at 9:30
Original issue reported on code.google.com by
ubernost...@gmail.com
on 9 Jun 2008 at 9:30