Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down