jazzband/django-taggit

Enhacement: Add remove_by_slug() method to TaggableManager

Open

Aperta il 23 ago 2013

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (3433 star) (624 fork)user submission
enhancementgood first issue

Descrizione

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.

Guida contributor