From abcd0f7f5aad6abc98157a57dee07d231b11586e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marduk=20Bola=C3=B1os?= Date: Sun, 4 Aug 2024 11:37:42 +0200 Subject: [PATCH] Improve the documentation of Select2TagWidget (#291) As already [discussed](https://github.com/codingjoe/django-select2/discussions/290), the documentation of this widget is lacking. This PR adds a description of the functionality provided by the widget. --- django_select2/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_select2/forms.py b/django_select2/forms.py index 02860075..69b1ee3c 100644 --- a/django_select2/forms.py +++ b/django_select2/forms.py @@ -221,7 +221,7 @@ class Select2MultipleWidget(Select2Mixin, forms.SelectMultiple): class Select2TagWidget(Select2TagMixin, Select2Mixin, forms.SelectMultiple): """ - Select2 drop in widget for for tagging. + Select2 drop in widget with tagging support. It allows to dynamically create new options from text input by the user. Example for :class:`.django.contrib.postgres.fields.ArrayField`::