MCPcopy Create free account

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

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

↓ 2 callersMethodget_object
(self)
test_project/alight_outside_admin/views.py:22
↓ 2 callersMethodget_queryset_for_content_type
Return the QuerySet from the QuerySetSequence for a ctype.
src/dal_queryset_sequence/fields.py:17
↓ 2 callersMethodget_result_value
Return the value of a result.
src/dal/views.py:99
↓ 2 callersMethodget_view_response_json
(self, **view_kwargs)
src/dal_queryset_sequence/tests/test_views.py:40
↓ 2 callersMethodhandleCreate
()
src/dal_alight/static/dal_alight/autocomplete-light.js:77
↓ 2 callersMethodhas_add_permission
Return True if the user has the permission to add a model.
src/dal/views.py:177
↓ 2 callersMethodhas_more
Return False if :py:attr:`mixup`.
src/dal_queryset_sequence/views.py:28
↓ 2 callersMethodhilight
(choice)
src/dal_alight/static/dal_alight/autocomplete-light.js:58
↓ 2 callersFunctioni
(e)
src/dal/static/autocomplete_light/autocomplete_light.min.js:1
↓ 2 callersFunctionisDraggingElement
* Helper function to determine if the element is being dragged, so that we * don't initialize the autocomplete fields. They will get init
src/dal/static/autocomplete_light/autocomplete_light.js:195
↓ 2 callersFunctionis_iterable
An implementation independent way of checking for iterables
src/dal_select2/widgets.py:20
↓ 2 callersFunctiono
(e)
src/dal/static/autocomplete_light/autocomplete_light.min.js:1
↓ 2 callersMethodoption_value
Return the HTML option value attribute for a value.
src/dal_select2/widgets.py:166
↓ 2 callersFunctionr
(t,e)
src/dal_select2/static/autocomplete_light/select2.min.js:1
↓ 2 callersFunctionrandom_text
()
test_project/select2_list/test_functional.py:9
↓ 2 callersMethodready
Register select2_submodule_check.
src/dal_select2/apps.py:12
↓ 2 callersMethodreconcileState
()
src/dal_alight/static/dal_alight/autocomplete-light.js:391
↓ 2 callersMethodrender_forward_conf
Render forward configuration for the field.
src/dal/widgets.py:87
↓ 2 callersMethodselectChoice
(choice)
src/dal_alight/static/dal_alight/autocomplete-light.js:68
↓ 2 callersMethodset_owner
(self, value)
test_project/select2_linked_data/test_functional.py:26
↓ 2 callersMethodset_owner
(self, value)
test_project/alight_linked_data/test_functional.py:28
↓ 2 callersMethodswitch_to_main
Switch back to main window.
src/dal/test/stories.py:137
↓ 2 callersMethodswitch_to_popup
Wait for and switch to popup window.
src/dal/test/stories.py:125
↓ 2 callersFunctiontemplate
(text, is_html)
src/dal_select2/static/autocomplete_light/select2.js:12
↓ 2 callersMethodtest_filter_options
(self, story=None)
test_project/select2_linked_data/test_functional.py:32
↓ 2 callersMethodtest_filter_options
(self, story=None)
test_project/alight_linked_data/test_functional.py:34
↓ 2 callersFunctionupdateAlightRelatedLinks
* Django admin's updateRelatedObjectLinks uses nextAll() on the <select> * to find .view-related/.change-related buttons. For our widget the *
src/dal_alight/static/dal_alight/dal-django.js:189
↓ 1 callersMethod__init__
(self, choices)
src/dal/fields.py:7
↓ 1 callersMethod__init__
(self, *args, **kwargs)
test_project/tests/test_widgets.py:209
↓ 1 callersMethod_construct_search
Apply keyword searches.
src/dal/views.py:129
↓ 1 callersMethod_deduplicate_values
(self, value)
src/dal_queryset_sequence/fields.py:84
↓ 1 callersMethod_get_ctype_objects
(self, values)
src/dal_queryset_sequence/fields.py:96
↓ 1 callersMethod_get_queryset_for_pks
(self, pks)
src/dal_queryset_sequence/fields.py:106
↓ 1 callersFunction_is_iterable
(x)
src/dal_alight/widgets.py:9
↓ 1 callersMethod_iter_tag_values
Yield individual tag strings from a raw value.
src/dal_alight/widgets.py:150
↓ 1 callersMethod_make_forward_dict
Convert forward declaration to a dictionary. A returned dictionary will be dumped to JSON while rendering widget.
src/dal/widgets.py:75
↓ 1 callersMethod_model_results
(self, request, model, model_admin, q)
test_project/views.py:42
↓ 1 callersMethod_parse_grouped
Yield (group_name, value, label) triples.
src/dal_alight/views.py:218
↓ 1 callersMethod_post
(self, view_cls, text)
test_project/alight_foreign_key/test_units.py:195
↓ 1 callersMethod_search_fields_for
(self, model, model_admin)
test_project/views.py:34
↓ 1 callersMethod_view_class
(self)
test_project/alight_foreign_key/test_units.py:531
↓ 1 callersMethod_widget_multiple
(self, values)
test_project/alight_foreign_key/test_units.py:367
↓ 1 callersMethodadd_another
Click the add button and add another option in the popup.
src/dal/test/stories.py:313
↓ 1 callersMethodassert_selection
Assert selections have values and labels.
src/dal/test/stories.py:428
↓ 1 callersMethodassert_visible
Assert an element is visible by css selector.
src/dal/test/case.py:87
↓ 1 callersMethodautocomplete_results
Return list of strings that match the autocomplete query.
src/dal_select2/views.py:142
↓ 1 callersMethodbindBox
()
src/dal_alight/static/dal_alight/autocomplete-light.js:219
↓ 1 callersMethodboxBuild
()
src/dal_alight/static/dal_alight/autocomplete-light.js:270
↓ 1 callersFunctionbuildForward
* Parse the dal-forward-conf script tag inside an autocomplete-select and * return a JSON-encoded forward dict, or null if nothing to forward.
src/dal_alight/static/dal_alight/dal-django.js:82
↓ 1 callersMethodbuild_attrs
Automatically set data-tags=1.
src/dal_select2/widgets.py:151
↓ 1 callersFunctioncheckForCheckboxes
()
src/dal/static/autocomplete_light/autocomplete_light.js:304
↓ 1 callersMethodchoiceUpdate
(value, newLabel)
src/dal_alight/static/dal_alight/autocomplete-light.js:465
↓ 1 callersMethodchoices
()
src/dal_alight/static/dal_alight/autocomplete-light.js:175
↓ 1 callersMethodclean_label_from_remove_buton
Clean child nodes before checking (ie. clear option).
src/dal/test/stories.py:63
↓ 1 callersMethodclean_label_from_remove_buton
Clean child nodes before checking (ie. clear option).
src/dal/test/stories.py:372
↓ 1 callersMethodcreate_object
Create an object given a text.
src/dal/views.py:172
↓ 1 callersMethoddispatch
Set :py:attr:`forwarded` and :py:attr:`q`.
src/dal/views.py:35
↓ 1 callersMethoddownload
()
src/dal_alight/static/dal_alight/autocomplete-light.js:90
↓ 1 callersFunctione
(t)
src/dal_select2/static/autocomplete_light/select2.min.js:1
↓ 1 callersMethodfilter_choices_to_render
Filter choices to selected ones; inject values absent from the list.
src/dal/widgets.py:68
↓ 1 callersMethodform_valid
(self, form)
test_project/select2_outside_admin/views.py:37
↓ 1 callersMethodform_valid
(self, form)
test_project/alight_outside_admin/views.py:34
↓ 1 callersMethodget
Open a URL.
src/dal/test/case.py:22
↓ 1 callersFunctiongetCookie
(name)
src/dal/static/autocomplete_light/autocomplete_light.js:226
↓ 1 callersFunctiongetCsrfToken
()
src/dal_alight/static/dal_alight/dal-django.js:19
↓ 1 callersFunctiongetFieldValue
* Read values from a named field relative to the form that contains `el`. * Handles text inputs, selects, checkboxes, radios, and multi-selects.
src/dal_alight/static/dal_alight/dal-django.js:35
↓ 1 callersFunctiongetForm
Return the <form> ancestor of an element, or document as fallback.
src/dal_alight/static/dal_alight/dal-django.js:27
↓ 1 callersFunctiongetFormPrefixes
* Return a list of form-field prefixes to try when resolving a forwarded * field name, mirroring select2's getFormPrefixes logic. * * Nested
src/dal_alight/static/dal_alight/dal-django.js:63
↓ 1 callersFunctiongetForwardStrategy
(element)
src/dal/static/autocomplete_light/autocomplete_light.js:303
↓ 1 callersFunctiongetLanguageFiles
(cb)
select2.build.js:13
↓ 1 callersFunctiongetSerializedFieldElementAt
(index)
src/dal/static/autocomplete_light/autocomplete_light.js:373
↓ 1 callersFunctiongetSerializedFieldValueAt
(index)
src/dal/static/autocomplete_light/autocomplete_light.js:395
↓ 1 callersFunctionget_choice_list
()
test_project/select2_list/forms.py:8
↓ 1 callersFunctionget_choice_list_with_id
()
test_project/select2_list/forms.py:12
↓ 1 callersMethodget_create_option
Form the correct create_option to append to results.
src/dal_select2/views.py:28
↓ 1 callersMethodget_create_option_selector
Return a selector for the create option that matches ``name`` exactly. Using ``[data-value="name"]`` prevents clicking a stale create option
src/dal_alight/test.py:55
↓ 1 callersFunctionget_databases
(base_dir)
test_project/settings/base.py:20
↓ 1 callersMethodget_form
(self, request, obj=None, **kwargs)
test_project/select2_secure_data/admin.py:8
↓ 1 callersMethodget_form
(self, request, obj=None, **kwargs)
test_project/alight_secure_data/admin.py:8
↓ 1 callersFunctionget_i18n_name
Ensure lang_code is supported by Select2.
src/dal_select2/widgets.py:33
↓ 1 callersMethodget_label
Return autocomplete widget label.
src/dal/test/stories.py:73
↓ 1 callersMethodget_labels
Return autocomplete widget label.
src/dal/test/stories.py:382
↓ 1 callersMethodget_queryset
(self)
test_project/alight_nestedadmin/urls.py:9
↓ 1 callersMethodget_results
Return data for the 'results' key of the response.
src/dal_select2/views.py:18
↓ 1 callersMethodget_search_fields
Get the fields to search over.
src/dal/views.py:122
↓ 1 callersMethodget_search_results
Filter the results based on the query.
src/dal/views.py:140
↓ 1 callersMethodget_suggestions
Return the list of suggestions in the autocomplete box.
src/dal/test/stories.py:186
↓ 1 callersMethodget_suggestions_labels
Return labels for suggestions in the autocomplete box.
src/dal/test/stories.py:205
↓ 1 callersMethodget_value
Return the autocomplete field value.
src/dal/test/stories.py:96
↓ 1 callersMethodget_values
Return the autocomplete field value.
src/dal/test/stories.py:395
↓ 1 callersMethodget_view
(self, **kwargs)
src/dal_queryset_sequence/tests/test_views.py:26
↓ 1 callersMethodget_view_response
(self, **view_kwargs)
src/dal_queryset_sequence/tests/test_views.py:37
↓ 1 callersFunctioninit
($element, options)
src/dal/static/autocomplete_light/autocomplete_light.js:255
↓ 1 callersMethodjs_click
Atomically find + click via JS, firing mousedown before focusout. Use this for autocomplete box options whose handlers listen on ``mo
src/dal/test/case.py:46
↓ 1 callersMethodlabel_from_instance
Convert an object into string. Override it to customize display.
src/dal_queryset_sequence/widgets.py:16
↓ 1 callersMethodlookup_needs_distinct
Return True if an orm_lookup requires calling qs.distinct().
src/dal/views.py:165
↓ 1 callersMethodmove
(way)
src/dal_alight/static/dal_alight/autocomplete-light.js:146
↓ 1 callersMethodonInput
()
src/dal_alight/static/dal_alight/autocomplete-light.js:44
↓ 1 callersMethodoptgroups
Exclude unselected self.choices before calling the parent method. Used by Django>=1.10.
src/dal/widgets.py:103
↓ 1 callersMethodoptions
Return only select options.
src/dal_select2/widgets.py:186
← previousnext →101–200 of 702, ranked by callers