MCPcopy Create free account

hub / github.com/yourlabs/django-autocomplete-light / functions

Functions702 in github.com/yourlabs/django-autocomplete-light

Methodtest_linked_value_is_forwarded_for_nested_admin
(self)
test_project/select2_nestedadmin/test_functional.py:21
Methodtest_list_alight_renders_component
(self)
test_project/alight_foreign_key/test_units.py:403
Methodtest_listselect2_adds_missing_selected_value
(self)
test_project/tests/test_widgets.py:171
Methodtest_media_includes_autocomplete_js
(self)
test_project/alight_foreign_key/test_units.py:258
Methodtest_media_includes_css
(self)
test_project/alight_foreign_key/test_units.py:268
Methodtest_media_includes_dal_django_js
(self)
test_project/alight_foreign_key/test_units.py:263
Methodtest_model_alight_multiple_allow_multiple
(self)
test_project/alight_foreign_key/test_units.py:322
Methodtest_model_name
(self)
test_project/select2_generic_foreign_key/test_forms.py:18
Methodtest_model_name
(self)
test_project/alight_generic_foreign_key/test_forms.py:18
Methodtest_model_name_index_error
(self)
test_project/select2_generic_foreign_key/test_forms.py:23
Methodtest_model_name_index_error
(self)
test_project/alight_generic_foreign_key/test_forms.py:23
Methodtest_multi_tag_no_trailing_comma_added
(self)
test_project/alight_foreign_key/test_units.py:699
Methodtest_multi_words_tag
(self)
test_project/select2_taggit/test_forms.py:38
Methodtest_multi_words_tag
(self)
test_project/alight_taggit/test_forms.py:32
Methodtest_no_create_option_without_create_field
(self)
test_project/alight_foreign_key/test_units.py:78
Methodtest_no_create_option_without_create_method
(self)
test_project/alight_foreign_key/test_units.py:223
Methodtest_no_data
(self)
test_project/select2_linked_data/test_views.py:19
Methodtest_no_forward_conf_without_forward
(self)
test_project/alight_foreign_key/test_units.py:335
Methodtest_no_forward_returns_200
(self)
test_project/alight_linked_data/test_views.py:19
Methodtest_not_dict
(self)
test_project/select2_linked_data/test_views.py:27
Methodtest_optgroups_creates_selected_options
(self)
test_project/alight_foreign_key/test_units.py:433
Methodtest_option_value_plain_string
(self)
test_project/alight_foreign_key/test_units.py:708
Methodtest_option_value_tagged_item
option_value should unwrap TaggedItem-like objects via .tag.name.
test_project/alight_foreign_key/test_units.py:712
Methodtest_page_loads_with_widget
(self)
test_project/alight_outside_admin/test_functional.py:26
Methodtest_pagination_sentinel_included
(self)
test_project/alight_foreign_key/test_units.py:124
Methodtest_post_create_returns_none_gives_400
(self)
test_project/alight_foreign_key/test_units.py:662
Methodtest_post_creates_and_returns_html
(self)
test_project/alight_foreign_key/test_units.py:227
Methodtest_post_creates_object
(self)
test_project/alight_foreign_key/test_units.py:138
Methodtest_post_fail
(self)
test_project/select2_list/test_views.py:76
Methodtest_post_fail
(self)
test_project/select2_list/test_views.py:127
Methodtest_post_missing_text_returns_400
(self)
test_project/alight_foreign_key/test_units.py:655
Methodtest_post_without_create_method_returns_405
(self)
test_project/alight_foreign_key/test_units.py:669
Methodtest_post_without_create_returns_405
(self)
test_project/alight_foreign_key/test_units.py:234
Methodtest_post_without_permission_returns_403
(self)
test_project/alight_foreign_key/test_units.py:152
Methodtest_prefills_multiple_values
(self)
test_project/alight_foreign_key/test_units.py:375
Methodtest_prefills_single_value
(self)
test_project/alight_foreign_key/test_units.py:359
Methodtest_query_filters_results
(self)
test_project/alight_foreign_key/test_units.py:67
Methodtest_raises_without_group_by_related
(self)
test_project/alight_foreign_key/test_units.py:562
Methodtest_rejects_empty_when_required
(self)
test_project/alight_foreign_key/test_units.py:492
Methodtest_rejects_invalid_choice
(self)
test_project/alight_foreign_key/test_units.py:463
Methodtest_render_includes_component
(self)
test_project/alight_foreign_key/test_units.py:443
Methodtest_renders_autocomplete_select_input
(self)
test_project/alight_foreign_key/test_units.py:302
Methodtest_renders_autocomplete_select_wrapper
(self)
test_project/alight_foreign_key/test_units.py:286
Methodtest_renders_deck_span
(self)
test_project/alight_foreign_key/test_units.py:297
Methodtest_renders_select_with_slot
(self)
test_project/alight_foreign_key/test_units.py:292
Methodtest_renders_without_url_when_url_is_none
(self)
test_project/alight_foreign_key/test_units.py:308
Methodtest_result_has_data_value
(self)
test_project/alight_foreign_key/test_units.py:214
Methodtest_result_has_data_value_attribute
(self)
test_project/alight_foreign_key/test_units.py:73
Methodtest_results_have_data_value
(self)
test_project/alight_generic_foreign_key/test_units.py:57
Methodtest_returns_all_without_query
(self)
test_project/alight_foreign_key/test_units.py:201
Methodtest_returns_html_content_type
(self)
test_project/alight_foreign_key/test_units.py:56
Methodtest_save
(self)
test_project/select2_generic_foreign_key/test_forms.py:30
Methodtest_save
(self)
test_project/select2_linked_data/test_forms.py:21
Methodtest_save
(self)
test_project/alight_generic_foreign_key/test_forms.py:30
Methodtest_save
(self)
test_project/select2_taggit/test_forms.py:18
Methodtest_save
(self)
test_project/alight_taggit/test_forms.py:12
Functiontest_search
(client)
test_project/select2_generic_foreign_key/test_views.py:8
Functiontest_search
(client)
test_project/alight_generic_foreign_key/test_views.py:8
Methodtest_select2multiple_adds_multiple_selected_values
(self)
test_project/tests/test_widgets.py:183
Methodtest_single_tag_gets_trailing_comma
(self)
test_project/alight_foreign_key/test_units.py:691
Methodtest_string_in_group
(self)
test_project/select2_list/test_views.py:214
Methodtest_string_in_group
(self)
test_project/select2_list/test_views.py:252
Methodtest_suggestions_filter_by_query
(self)
test_project/alight_list/test_functional.py:33
Methodtest_tag_removal
(self)
test_project/alight_taggit/test_edge_cases.py:38
Methodtest_tags_dont_appear_in_dropdown_after_selection
(self)
test_project/alight_tag/test_functional.py:54
Methodtest_tags_persist_after_submit
(self)
test_project/alight_tag/test_functional.py:35
Methodtest_tags_survive_list_refresh
(self)
test_project/alight_tag/test_functional.py:44
Methodtest_three_element_model_args_with_empty_forward_list
(self)
test_project/alight_generic_foreign_key/test_units.py:95
Methodtest_tuple_choices
(self)
test_project/alight_foreign_key/test_units.py:473
Methodtest_tuple_list_value_label
(self)
test_project/alight_foreign_key/test_units.py:241
Methodtest_tuple_value_label
(self)
test_project/alight_foreign_key/test_units.py:632
Methodtest_two_element_model_args_no_error
(self)
test_project/alight_generic_foreign_key/test_units.py:89
Methodtest_ungrouped_items_appear_first
(self)
test_project/alight_foreign_key/test_units.py:617
Methodtest_unicode_tag_name
(self)
test_project/alight_taggit/test_edge_cases.py:16
Functiontest_user
(sender, *args, **kwargs)
test_project/tests/models.py:5
Methodtest_validate
(self)
test_project/select2_generic_foreign_key/test_forms.py:48
Methodtest_validate
(self)
test_project/select2_linked_data/test_forms.py:42
Methodtest_validate
(self)
test_project/select2_list/test_fields.py:68
Methodtest_validate
(self)
test_project/alight_generic_foreign_key/test_forms.py:48
Methodtest_value_from_datadict_joins_with_comma
(self)
test_project/alight_foreign_key/test_units.py:417
Methodtest_very_long_tag
(self)
test_project/alight_taggit/test_edge_cases.py:30
Methodtest_weird_in_group
(self)
test_project/select2_list/test_views.py:224
Methodtest_weird_in_group
(self)
test_project/select2_list/test_views.py:263
Methodtest_widget_does_not_find_incorrect_language
Assert that an invalid language code is not found.
test_project/tests/test_widgets.py:135
Methodtest_widget_finds_correct_language
Assert that a valid language code is found correctly.
test_project/tests/test_widgets.py:125
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_widget_renders_without_attrs
Assert that render will fallback to field name if no id.
test_project/tests/test_widgets.py:144
Methodto_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:12
Methodto_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:59
Methodto_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:89
Methodto_dict
Convert to dictionary which will be rendered as JSON.
src/dal/forward.py:133
Methodto_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
Methodtoggle_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
Methodurl
()
src/dal_alight/static/dal_alight/autocomplete-light.js:86
Methodurl
()
src/dal_alight/static/dal_alight/autocomplete-light.js:298
Methodvalidate
(self, value)
src/dal/fields.py:32
Methodvalue_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
Methodvalue_from_datadict
(self, data, files, name)
src/dal_alight/widgets.py:172
← previousnext →601–700 of 702, ranked by callers