Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/yourlabs/django-autocomplete-light
/ functions
Functions
702 in github.com/yourlabs/django-autocomplete-light
⨍
Functions
702
◇
Types & classes
445
Method
test_linked_value_is_forwarded_for_nested_admin
(self)
test_project/select2_nestedadmin/test_functional.py:21
Method
test_list_alight_renders_component
(self)
test_project/alight_foreign_key/test_units.py:403
Method
test_listselect2_adds_missing_selected_value
(self)
test_project/tests/test_widgets.py:171
Method
test_media_includes_autocomplete_js
(self)
test_project/alight_foreign_key/test_units.py:258
Method
test_media_includes_css
(self)
test_project/alight_foreign_key/test_units.py:268
Method
test_media_includes_dal_django_js
(self)
test_project/alight_foreign_key/test_units.py:263
Method
test_model_alight_multiple_allow_multiple
(self)
test_project/alight_foreign_key/test_units.py:322
Method
test_model_name
(self)
test_project/select2_generic_foreign_key/test_forms.py:18
Method
test_model_name
(self)
test_project/alight_generic_foreign_key/test_forms.py:18
Method
test_model_name_index_error
(self)
test_project/select2_generic_foreign_key/test_forms.py:23
Method
test_model_name_index_error
(self)
test_project/alight_generic_foreign_key/test_forms.py:23
Method
test_multi_tag_no_trailing_comma_added
(self)
test_project/alight_foreign_key/test_units.py:699
Method
test_multi_words_tag
(self)
test_project/select2_taggit/test_forms.py:38
Method
test_multi_words_tag
(self)
test_project/alight_taggit/test_forms.py:32
Method
test_no_create_option_without_create_field
(self)
test_project/alight_foreign_key/test_units.py:78
Method
test_no_create_option_without_create_method
(self)
test_project/alight_foreign_key/test_units.py:223
Method
test_no_data
(self)
test_project/select2_linked_data/test_views.py:19
Method
test_no_forward_conf_without_forward
(self)
test_project/alight_foreign_key/test_units.py:335
Method
test_no_forward_returns_200
(self)
test_project/alight_linked_data/test_views.py:19
Method
test_not_dict
(self)
test_project/select2_linked_data/test_views.py:27
Method
test_optgroups_creates_selected_options
(self)
test_project/alight_foreign_key/test_units.py:433
Method
test_option_value_plain_string
(self)
test_project/alight_foreign_key/test_units.py:708
Method
test_option_value_tagged_item
option_value should unwrap TaggedItem-like objects via .tag.name.
test_project/alight_foreign_key/test_units.py:712
Method
test_page_loads_with_widget
(self)
test_project/alight_outside_admin/test_functional.py:26
Method
test_pagination_sentinel_included
(self)
test_project/alight_foreign_key/test_units.py:124
Method
test_post_create_returns_none_gives_400
(self)
test_project/alight_foreign_key/test_units.py:662
Method
test_post_creates_and_returns_html
(self)
test_project/alight_foreign_key/test_units.py:227
Method
test_post_creates_object
(self)
test_project/alight_foreign_key/test_units.py:138
Method
test_post_fail
(self)
test_project/select2_list/test_views.py:76
Method
test_post_fail
(self)
test_project/select2_list/test_views.py:127
Method
test_post_missing_text_returns_400
(self)
test_project/alight_foreign_key/test_units.py:655
Method
test_post_without_create_method_returns_405
(self)
test_project/alight_foreign_key/test_units.py:669
Method
test_post_without_create_returns_405
(self)
test_project/alight_foreign_key/test_units.py:234
Method
test_post_without_permission_returns_403
(self)
test_project/alight_foreign_key/test_units.py:152
Method
test_prefills_multiple_values
(self)
test_project/alight_foreign_key/test_units.py:375
Method
test_prefills_single_value
(self)
test_project/alight_foreign_key/test_units.py:359
Method
test_query_filters_results
(self)
test_project/alight_foreign_key/test_units.py:67
Method
test_raises_without_group_by_related
(self)
test_project/alight_foreign_key/test_units.py:562
Method
test_rejects_empty_when_required
(self)
test_project/alight_foreign_key/test_units.py:492
Method
test_rejects_invalid_choice
(self)
test_project/alight_foreign_key/test_units.py:463
Method
test_render_includes_component
(self)
test_project/alight_foreign_key/test_units.py:443
Method
test_renders_autocomplete_select_input
(self)
test_project/alight_foreign_key/test_units.py:302
Method
test_renders_autocomplete_select_wrapper
(self)
test_project/alight_foreign_key/test_units.py:286
Method
test_renders_deck_span
(self)
test_project/alight_foreign_key/test_units.py:297
Method
test_renders_select_with_slot
(self)
test_project/alight_foreign_key/test_units.py:292
Method
test_renders_without_url_when_url_is_none
(self)
test_project/alight_foreign_key/test_units.py:308
Method
test_result_has_data_value
(self)
test_project/alight_foreign_key/test_units.py:214
Method
test_result_has_data_value_attribute
(self)
test_project/alight_foreign_key/test_units.py:73
Method
test_results_have_data_value
(self)
test_project/alight_generic_foreign_key/test_units.py:57
Method
test_returns_all_without_query
(self)
test_project/alight_foreign_key/test_units.py:201
Method
test_returns_html_content_type
(self)
test_project/alight_foreign_key/test_units.py:56
Method
test_save
(self)
test_project/select2_generic_foreign_key/test_forms.py:30
Method
test_save
(self)
test_project/select2_linked_data/test_forms.py:21
Method
test_save
(self)
test_project/alight_generic_foreign_key/test_forms.py:30
Method
test_save
(self)
test_project/select2_taggit/test_forms.py:18
Method
test_save
(self)
test_project/alight_taggit/test_forms.py:12
Function
test_search
(client)
test_project/select2_generic_foreign_key/test_views.py:8
Function
test_search
(client)
test_project/alight_generic_foreign_key/test_views.py:8
Method
test_select2multiple_adds_multiple_selected_values
(self)
test_project/tests/test_widgets.py:183
Method
test_single_tag_gets_trailing_comma
(self)
test_project/alight_foreign_key/test_units.py:691
Method
test_string_in_group
(self)
test_project/select2_list/test_views.py:214
Method
test_string_in_group
(self)
test_project/select2_list/test_views.py:252
Method
test_suggestions_filter_by_query
(self)
test_project/alight_list/test_functional.py:33
Method
test_tag_removal
(self)
test_project/alight_taggit/test_edge_cases.py:38
Method
test_tags_dont_appear_in_dropdown_after_selection
(self)
test_project/alight_tag/test_functional.py:54
Method
test_tags_persist_after_submit
(self)
test_project/alight_tag/test_functional.py:35
Method
test_tags_survive_list_refresh
(self)
test_project/alight_tag/test_functional.py:44
Method
test_three_element_model_args_with_empty_forward_list
(self)
test_project/alight_generic_foreign_key/test_units.py:95
Method
test_tuple_choices
(self)
test_project/alight_foreign_key/test_units.py:473
Method
test_tuple_list_value_label
(self)
test_project/alight_foreign_key/test_units.py:241
Method
test_tuple_value_label
(self)
test_project/alight_foreign_key/test_units.py:632
Method
test_two_element_model_args_no_error
(self)
test_project/alight_generic_foreign_key/test_units.py:89
Method
test_ungrouped_items_appear_first
(self)
test_project/alight_foreign_key/test_units.py:617
Method
test_unicode_tag_name
(self)
test_project/alight_taggit/test_edge_cases.py:16
Function
test_user
(sender, *args, **kwargs)
test_project/tests/models.py:5
Method
test_validate
(self)
test_project/select2_generic_foreign_key/test_forms.py:48
Method
test_validate
(self)
test_project/select2_linked_data/test_forms.py:42
Method
test_validate
(self)
test_project/select2_list/test_fields.py:68
Method
test_validate
(self)
test_project/alight_generic_foreign_key/test_forms.py:48
Method
test_value_from_datadict_joins_with_comma
(self)
test_project/alight_foreign_key/test_units.py:417
Method
test_very_long_tag
(self)
test_project/alight_taggit/test_edge_cases.py:30
Method
test_weird_in_group
(self)
test_project/select2_list/test_views.py:224
Method
test_weird_in_group
(self)
test_project/select2_list/test_views.py:263
Method
test_widget_does_not_find_incorrect_language
Assert that an invalid language code is not found.
test_project/tests/test_widgets.py:135
Method
test_widget_finds_correct_language
Assert that a valid language code is found correctly.
test_project/tests/test_widgets.py:125
Method
test_widget_no_empty_option_without_placeholder_without_url
Assert that it renders an empty option, if not given a url.
test_project/tests/test_widgets.py:92
Method
test_widget_renders_empty_option_with_placeholder_without_url
Assert that it renders an empty option, if not given a url.
test_project/tests/test_widgets.py:68
Method
test_widget_renders_only_selected_with_url
Assert that it won't render unselected choices, if given a url.
test_project/tests/test_widgets.py:45
Method
test_widget_renders_without_attrs
Assert that render will fallback to field name if no id.
test_project/tests/test_widgets.py:144
Method
to_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:12
Method
to_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:59
Method
to_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:89
Method
to_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:133
Method
to_python
Given a string like '3-5', return the model of ctype #3 and pk 5. Note that in the case of ModelChoiceField, to_python is also in ch
src/dal_queryset_sequence/fields.py:57
Method
toggle_autocomplete_widget
Open the autocomplete, ensuring focus fires even if already focused. For alight, ``focus`` on the text input is what triggers the XHR.
src/dal_alight/test.py:93
Method
url
()
src/dal_alight/static/dal_alight/autocomplete-light.js:86
Method
url
()
src/dal_alight/static/dal_alight/autocomplete-light.js:298
Method
validate
(self, value)
src/dal/fields.py:32
Method
value_from_datadict
Return a comma-separated list of options. This is needed because Select2 uses a multiple select even in tag mode, and the model field
src/dal_select2/widgets.py:157
Method
value_from_datadict
(self, data, files, name)
src/dal_alight/widgets.py:172
← previous
next →
601–700 of 702, ranked by callers