mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-01 21:00:24 +00:00
Added type directive in docstring for userGetValTextFuncName.
This commit is contained in:
parent
ebdc72b9f4
commit
709c58fca2
1 changed files with 2 additions and 0 deletions
|
|
@ -346,6 +346,8 @@ class HeavySelect2Mixin(Select2Mixin):
|
|||
|
||||
3. Otherwise, check the cached results. When the user searches in the fields then all the returned
|
||||
responses from server, which has the value and label mapping, are cached by ``heavy_data.js``.
|
||||
|
||||
:type userGetValTextFuncName: :py:obj:`str`
|
||||
|
||||
.. tip:: Since version 3.2.0, cookies or localStorage are no longer checked or used. All
|
||||
:py:class:`~.field.HeavyChoiceField` must override :py:meth:`~.fields.HeavyChoiceField.get_val_txt`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue