jazzband/django-taggit

Enhacement: Add remove_by_slug() method to TaggableManager

Open

#151 建立於 2013年8月23日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (3,433 star) (624 fork)user submission
enhancementgood first issue

描述

That way it would also be possible to remove tags by providing their unique slugs. Have in mind that people might want to use URLs like .../some-object/tags/my-precious-tag/remove/ to remove a tag.

Adding this method seems easy, but I am reluctant to contribute a PR because I am not sure if I can write correct tests for this code addition. If some guidance and supervision is provided I am willing to try.

貢獻者指南

Enhacement: Add remove_by_slug() method to TaggableManager · jazzband/django-taggit#151 | Good First Issue