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
↓ 2 callers
Method
get_object
(self)
test_project/alight_outside_admin/views.py:22
↓ 2 callers
Method
get_queryset_for_content_type
Return the QuerySet from the QuerySetSequence for a ctype.
src/dal_queryset_sequence/fields.py:17
↓ 2 callers
Method
get_result_value
Return the value of a result.
src/dal/views.py:99
↓ 2 callers
Method
get_view_response_json
(self, **view_kwargs)
src/dal_queryset_sequence/tests/test_views.py:40
↓ 2 callers
Method
handleCreate
()
src/dal_alight/static/dal_alight/autocomplete-light.js:77
↓ 2 callers
Method
has_add_permission
Return True if the user has the permission to add a model.
src/dal/views.py:177
↓ 2 callers
Method
has_more
Return False if :py:attr:`mixup`.
src/dal_queryset_sequence/views.py:28
↓ 2 callers
Method
hilight
(choice)
src/dal_alight/static/dal_alight/autocomplete-light.js:58
↓ 2 callers
Function
i
(e)
src/dal/static/autocomplete_light/autocomplete_light.min.js:1
↓ 2 callers
Function
isDraggingElement
* 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 callers
Function
is_iterable
An implementation independent way of checking for iterables
src/dal_select2/widgets.py:20
↓ 2 callers
Function
o
(e)
src/dal/static/autocomplete_light/autocomplete_light.min.js:1
↓ 2 callers
Method
option_value
Return the HTML option value attribute for a value.
src/dal_select2/widgets.py:166
↓ 2 callers
Function
r
(t,e)
src/dal_select2/static/autocomplete_light/select2.min.js:1
↓ 2 callers
Function
random_text
()
test_project/select2_list/test_functional.py:9
↓ 2 callers
Method
ready
Register select2_submodule_check.
src/dal_select2/apps.py:12
↓ 2 callers
Method
reconcileState
()
src/dal_alight/static/dal_alight/autocomplete-light.js:391
↓ 2 callers
Method
render_forward_conf
Render forward configuration for the field.
src/dal/widgets.py:87
↓ 2 callers
Method
selectChoice
(choice)
src/dal_alight/static/dal_alight/autocomplete-light.js:68
↓ 2 callers
Method
set_owner
(self, value)
test_project/select2_linked_data/test_functional.py:26
↓ 2 callers
Method
set_owner
(self, value)
test_project/alight_linked_data/test_functional.py:28
↓ 2 callers
Method
switch_to_main
Switch back to main window.
src/dal/test/stories.py:137
↓ 2 callers
Method
switch_to_popup
Wait for and switch to popup window.
src/dal/test/stories.py:125
↓ 2 callers
Function
template
(text, is_html)
src/dal_select2/static/autocomplete_light/select2.js:12
↓ 2 callers
Method
test_filter_options
(self, story=None)
test_project/select2_linked_data/test_functional.py:32
↓ 2 callers
Method
test_filter_options
(self, story=None)
test_project/alight_linked_data/test_functional.py:34
↓ 2 callers
Function
updateAlightRelatedLinks
* 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 callers
Method
__init__
(self, choices)
src/dal/fields.py:7
↓ 1 callers
Method
__init__
(self, *args, **kwargs)
test_project/tests/test_widgets.py:209
↓ 1 callers
Method
_construct_search
Apply keyword searches.
src/dal/views.py:129
↓ 1 callers
Method
_deduplicate_values
(self, value)
src/dal_queryset_sequence/fields.py:84
↓ 1 callers
Method
_get_ctype_objects
(self, values)
src/dal_queryset_sequence/fields.py:96
↓ 1 callers
Method
_get_queryset_for_pks
(self, pks)
src/dal_queryset_sequence/fields.py:106
↓ 1 callers
Function
_is_iterable
(x)
src/dal_alight/widgets.py:9
↓ 1 callers
Method
_iter_tag_values
Yield individual tag strings from a raw value.
src/dal_alight/widgets.py:150
↓ 1 callers
Method
_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 callers
Method
_model_results
(self, request, model, model_admin, q)
test_project/views.py:42
↓ 1 callers
Method
_parse_grouped
Yield (group_name, value, label) triples.
src/dal_alight/views.py:218
↓ 1 callers
Method
_post
(self, view_cls, text)
test_project/alight_foreign_key/test_units.py:195
↓ 1 callers
Method
_search_fields_for
(self, model, model_admin)
test_project/views.py:34
↓ 1 callers
Method
_view_class
(self)
test_project/alight_foreign_key/test_units.py:531
↓ 1 callers
Method
_widget_multiple
(self, values)
test_project/alight_foreign_key/test_units.py:367
↓ 1 callers
Method
add_another
Click the add button and add another option in the popup.
src/dal/test/stories.py:313
↓ 1 callers
Method
assert_selection
Assert selections have values and labels.
src/dal/test/stories.py:428
↓ 1 callers
Method
assert_visible
Assert an element is visible by css selector.
src/dal/test/case.py:87
↓ 1 callers
Method
autocomplete_results
Return list of strings that match the autocomplete query.
src/dal_select2/views.py:142
↓ 1 callers
Method
bindBox
()
src/dal_alight/static/dal_alight/autocomplete-light.js:219
↓ 1 callers
Method
boxBuild
()
src/dal_alight/static/dal_alight/autocomplete-light.js:270
↓ 1 callers
Function
buildForward
* 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 callers
Method
build_attrs
Automatically set data-tags=1.
src/dal_select2/widgets.py:151
↓ 1 callers
Function
checkForCheckboxes
()
src/dal/static/autocomplete_light/autocomplete_light.js:304
↓ 1 callers
Method
choiceUpdate
(value, newLabel)
src/dal_alight/static/dal_alight/autocomplete-light.js:465
↓ 1 callers
Method
choices
()
src/dal_alight/static/dal_alight/autocomplete-light.js:175
↓ 1 callers
Method
clean_label_from_remove_buton
Clean child nodes before checking (ie. clear option).
src/dal/test/stories.py:63
↓ 1 callers
Method
clean_label_from_remove_buton
Clean child nodes before checking (ie. clear option).
src/dal/test/stories.py:372
↓ 1 callers
Method
create_object
Create an object given a text.
src/dal/views.py:172
↓ 1 callers
Method
dispatch
Set :py:attr:`forwarded` and :py:attr:`q`.
src/dal/views.py:35
↓ 1 callers
Method
download
()
src/dal_alight/static/dal_alight/autocomplete-light.js:90
↓ 1 callers
Function
e
(t)
src/dal_select2/static/autocomplete_light/select2.min.js:1
↓ 1 callers
Method
filter_choices_to_render
Filter choices to selected ones; inject values absent from the list.
src/dal/widgets.py:68
↓ 1 callers
Method
form_valid
(self, form)
test_project/select2_outside_admin/views.py:37
↓ 1 callers
Method
form_valid
(self, form)
test_project/alight_outside_admin/views.py:34
↓ 1 callers
Method
get
Open a URL.
src/dal/test/case.py:22
↓ 1 callers
Function
getCookie
(name)
src/dal/static/autocomplete_light/autocomplete_light.js:226
↓ 1 callers
Function
getCsrfToken
()
src/dal_alight/static/dal_alight/dal-django.js:19
↓ 1 callers
Function
getFieldValue
* 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 callers
Function
getForm
Return the <form> ancestor of an element, or document as fallback.
src/dal_alight/static/dal_alight/dal-django.js:27
↓ 1 callers
Function
getFormPrefixes
* 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 callers
Function
getForwardStrategy
(element)
src/dal/static/autocomplete_light/autocomplete_light.js:303
↓ 1 callers
Function
getLanguageFiles
(cb)
select2.build.js:13
↓ 1 callers
Function
getSerializedFieldElementAt
(index)
src/dal/static/autocomplete_light/autocomplete_light.js:373
↓ 1 callers
Function
getSerializedFieldValueAt
(index)
src/dal/static/autocomplete_light/autocomplete_light.js:395
↓ 1 callers
Function
get_choice_list
()
test_project/select2_list/forms.py:8
↓ 1 callers
Function
get_choice_list_with_id
()
test_project/select2_list/forms.py:12
↓ 1 callers
Method
get_create_option
Form the correct create_option to append to results.
src/dal_select2/views.py:28
↓ 1 callers
Method
get_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 callers
Function
get_databases
(base_dir)
test_project/settings/base.py:20
↓ 1 callers
Method
get_form
(self, request, obj=None, **kwargs)
test_project/select2_secure_data/admin.py:8
↓ 1 callers
Method
get_form
(self, request, obj=None, **kwargs)
test_project/alight_secure_data/admin.py:8
↓ 1 callers
Function
get_i18n_name
Ensure lang_code is supported by Select2.
src/dal_select2/widgets.py:33
↓ 1 callers
Method
get_label
Return autocomplete widget label.
src/dal/test/stories.py:73
↓ 1 callers
Method
get_labels
Return autocomplete widget label.
src/dal/test/stories.py:382
↓ 1 callers
Method
get_queryset
(self)
test_project/alight_nestedadmin/urls.py:9
↓ 1 callers
Method
get_results
Return data for the 'results' key of the response.
src/dal_select2/views.py:18
↓ 1 callers
Method
get_search_fields
Get the fields to search over.
src/dal/views.py:122
↓ 1 callers
Method
get_search_results
Filter the results based on the query.
src/dal/views.py:140
↓ 1 callers
Method
get_suggestions
Return the list of suggestions in the autocomplete box.
src/dal/test/stories.py:186
↓ 1 callers
Method
get_suggestions_labels
Return labels for suggestions in the autocomplete box.
src/dal/test/stories.py:205
↓ 1 callers
Method
get_value
Return the autocomplete field value.
src/dal/test/stories.py:96
↓ 1 callers
Method
get_values
Return the autocomplete field value.
src/dal/test/stories.py:395
↓ 1 callers
Method
get_view
(self, **kwargs)
src/dal_queryset_sequence/tests/test_views.py:26
↓ 1 callers
Method
get_view_response
(self, **view_kwargs)
src/dal_queryset_sequence/tests/test_views.py:37
↓ 1 callers
Function
init
($element, options)
src/dal/static/autocomplete_light/autocomplete_light.js:255
↓ 1 callers
Method
js_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 callers
Method
label_from_instance
Convert an object into string. Override it to customize display.
src/dal_queryset_sequence/widgets.py:16
↓ 1 callers
Method
lookup_needs_distinct
Return True if an orm_lookup requires calling qs.distinct().
src/dal/views.py:165
↓ 1 callers
Method
move
(way)
src/dal_alight/static/dal_alight/autocomplete-light.js:146
↓ 1 callers
Method
onInput
()
src/dal_alight/static/dal_alight/autocomplete-light.js:44
↓ 1 callers
Method
optgroups
Exclude unselected self.choices before calling the parent method. Used by Django>=1.10.
src/dal/widgets.py:103
↓ 1 callers
Method
options
Return only select options.
src/dal_select2/widgets.py:186
← previous
next →
101–200 of 702, ranked by callers