From e17e735a94b873ad3ca8122d296c8cbb2e9b257f Mon Sep 17 00:00:00 2001 From: Justin Young Date: Thu, 9 Mar 2017 15:56:18 +1100 Subject: [PATCH] Fix documentation error where ListSelect2 widget is referred to as Select2List --- docs/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 6f4887d74..918f1a978 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -549,11 +549,11 @@ of strings rather than a QuerySet. This can be achieved with the This class can then be registered as in the previous example. Suppose we register it under URL 'country-list-autocomplete'. We can then a -create a Select2List widget with: +create a ListSelect2 widget with: .. code-block:: python - widget = autocomplete.Select2List(url='country-list-autocomplete') + widget = autocomplete.ListSelect2(url='country-list-autocomplete') With this in place, if a user types the letter ``f``' in the widget, choices 'France', 'Fiji', and 'Finland' would be offered.