Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/yourlabs/django-autocomplete-light
/ types & classes
Types & classes
445 in github.com/yourlabs/django-autocomplete-light
⨍
Functions
702
◇
Types & classes
445
↓ 10 callers
Class
ModelAlight
Single-select autocomplete widget backed by a QuerySet.
src/dal_alight/widgets.py:72
↓ 8 callers
Class
OwnedFixtures
Fixtures for models with an "owner" relation to User.
src/dal/test/utils.py:33
↓ 6 callers
Class
Form
test_project/tests/test_widgets.py:47
↓ 4 callers
Class
AlightListChoiceField
src/dal_alight/fields.py:4
↓ 3 callers
Class
AlightListCreateChoiceField
src/dal_alight/fields.py:8
↓ 3 callers
Class
Fixtures
Callback for post_migrate to create many objects.
src/dal/test/utils.py:5
↓ 3 callers
Class
Select2GroupListViewAutocompleteTest
test_project/select2_list/test_views.py:20
↓ 3 callers
Class
Select2GroupProvidedValueListViewAutocompleteTest
test_project/select2_list/test_views.py:46
↓ 3 callers
Class
TForm
test_project/select2_generic_foreign_key/forms.py:10
↓ 3 callers
Class
TForm
test_project/alight_generic_foreign_key/forms.py:10
↓ 2 callers
Class
Alight
Single-select autocomplete for arbitrary choices. Without a ``url`` the component filters ``<option>`` elements locally in JS — no server rou
src/dal_alight/widgets.py:92
↓ 2 callers
Class
ModelAlightMultiple
Multi-select autocomplete widget backed by a QuerySet.
src/dal_alight/widgets.py:80
↓ 2 callers
Class
Select2
Select2 widget for regular choices.
src/dal_select2/widgets.py:100
↓ 2 callers
Class
Select2ListView
Autocomplete from a list of items rather than a QuerySet.
src/dal_select2/views.py:117
↓ 2 callers
Class
Select2ProvidedValueListViewAutocompleteTest
test_project/select2_list/test_views.py:31
↓ 2 callers
Class
TForm
test_project/select2_linked_data/forms.py:8
↓ 1 callers
Class
AlightMultiple
Multiple-select autocomplete for arbitrary choices.
src/dal_alight/widgets.py:101
↓ 1 callers
Class
ChoiceCallable
Choices wrapper that supports callable choices.
src/dal/fields.py:4
↓ 1 callers
Class
FakeTag
test_project/alight_foreign_key/test_units.py:715
↓ 1 callers
Class
FakeTaggedItem
test_project/alight_foreign_key/test_units.py:718
↓ 1 callers
Class
Form1
test_project/tests/test_widgets.py:208
↓ 1 callers
Class
Form2
test_project/tests/test_widgets.py:215
↓ 1 callers
Class
ListAlight
Single-select autocomplete backed by ``AlightListView``. Use alongside ``AlightListView`` on the server.
src/dal_alight/widgets.py:105
↓ 1 callers
Class
ModelSelect2
Select widget for QuerySet choices and Select2.
src/dal_select2/widgets.py:116
↓ 1 callers
Class
NestedAdminError
test_project/select2_nestedadmin/urls.py:8
↓ 1 callers
Class
QuerySetSequenceAlight
Single-select autocomplete-light widget for QuerySetSequence.
src/dal_alight_queryset_sequence/widgets.py:21
↓ 1 callers
Class
QuerySetSequenceSelect2
Single model select for a generic select2 autocomplete.
src/dal_select2_queryset_sequence/widgets.py:16
↓ 1 callers
Class
Select
Replacement for Django's Select to render only selected choices.
src/dal/widgets.py:146
↓ 1 callers
Class
Select2ListViewAutocompleteTest
test_project/select2_list/test_views.py:15
↓ 1 callers
Class
TForm
test_project/alight_taggit/forms.py:8
↓ 1 callers
Class
TModel
test_project/select2_generic_foreign_key/models.py:5
↓ 1 callers
Class
TModel
test_project/alight_generic_foreign_key/models.py:5
↓ 1 callers
Class
TModelSelect2
test_project/custom_select2/widgets.py:6
↓ 1 callers
Class
TagAlight
Free-text tag widget — value stored as comma-separated text. AlightInitialRenderMixin is intentionally omitted: tags are not PKs so the query
src/dal_alight/widgets.py:116
↓ 1 callers
Class
TaggitAlight
src/dal_alight/widgets.py:171
↓ 1 callers
Class
Widget
test_project/tests/test_widgets.py:150
Class
src/dal_alight/static/dal_alight/autocomplete-light.js:1
Class
src/dal_alight/static/dal_alight/autocomplete-light.js:297
Class
src/dal_alight/static/dal_alight/autocomplete-light.js:352
Class
AddAnotherOption
Add-another user story.
src/dal/test/stories.py:310
Class
AdminForeignKeyTestCase
test_project/alight_foreign_key/test_functional.py:7
Class
AdminForeignKeyTestCase
test_project/select2_djhacker_formfield/test_functional.py:6
Class
AdminForeignKeyTestCase
test_project/alight_djhacker_formfield/test_functional.py:6
Class
AdminForeignKeyTestCase
test_project/custom_select2/test_functional.py:7
Class
AdminForeignKeyTestCase
test_project/select2_foreign_key/test_functional.py:7
Class
AdminGenericForeignKeyTestCase
test_project/select2_generic_foreign_key/test_functional.py:7
Class
AdminGenericForeignKeyTestCase
test_project/alight_generic_foreign_key/test_functional.py:7
Class
AdminGlobalSearchView
Global search across all admin-registered models for the topbar.
test_project/views.py:29
Class
AdminLinkedDataTest
test_project/select2_linked_data/test_functional.py:8
Class
AdminLinkedDataTest
test_project/select2_secure_data/test_functional.py:8
Class
AdminLinkedDataTestCase
test_project/alight_linked_data/test_functional.py:8
Class
AdminListTestCase
test_project/alight_list/test_functional.py:7
Class
AdminManyToManyTestCase
test_project/select2_many_to_many/test_functional.py:7
Class
AdminManyToManyTestCase
test_project/alight_many_to_many/test_functional.py:7
Class
AdminMixin
Mixin for tests that should happen in ModelAdmin.
src/dal/test/case.py:93
Class
AdminNestedLinkedDataTest
test_project/alight_nestedadmin/test_functional.py:10
Class
AdminNestedLinkedDataTest
test_project/select2_nestedadmin/test_functional.py:9
Class
AdminOneToOneTestCase
test_project/select2_one_to_one/test_functional.py:9
Class
AdminOneToOneTestCase
test_project/alight_one_to_one/test_functional.py:9
Class
AdminRenameForwardTest
test_project/alight_rename_forward/test_functional.py:8
Class
AdminSecureDataTest
test_project/alight_secure_data/test_functional.py:8
Class
AdminSelect2List
test_project/select2_list/test_functional.py:13
Class
AdminTagTestCase
test_project/alight_tag/test_functional.py:7
Class
AlightCreateOption
Create an option on the fly — alight backend.
src/dal/test/stories.py:331
Class
AlightCreateOptionMultiple
Multiple-select variant of AlightCreateOption.
src/dal/test/stories.py:445
Class
AlightGenericForeignKeyModelField
AlightGenericForeignKeyModelField class. Field that automatically generates the view for the :py:class:`~dal_alight_queryset_sequence.wi
src/dal_alight_queryset_sequence/fields.py:11
Class
AlightGroupListView
Grouped list view — mirrors Select2GroupListView. ``get_list()`` should return items of the form ``((group_id, group_label), [(value, label),
src/dal_alight/views.py:206
Class
AlightGroupListViewTest
AlightGroupListView renders grouped HTML fragments from a list.
test_project/alight_foreign_key/test_units.py:575
Class
AlightGroupQuerySetView
Grouped queryset view — mirrors Select2GroupQuerySetView. Results are rendered as:: <div class="autocomplete-light-group">Group label</d
src/dal_alight/views.py:76
Class
AlightGroupQuerySetViewTest
AlightGroupQuerySetView renders grouped HTML fragments. Uses the self-referential ``test`` FK on alight_foreign_key.TModel so that no additio
test_project/alight_foreign_key/test_units.py:516
Class
AlightInitialRenderMixinTest
test_project/alight_foreign_key/test_units.py:345
Class
AlightLinkedDataView
test_project/alight_linked_data/urls.py:8
Class
AlightListChoiceFieldTest
test_project/alight_foreign_key/test_units.py:456
Class
AlightListCreateChoiceFieldTest
test_project/alight_foreign_key/test_units.py:479
Class
AlightListView
Autocomplete from a list of strings or (value, label) pairs. Mirrors ``Select2ListView`` but returns HTML fragments instead of JSON. Overrid
src/dal_alight/views.py:124
Class
AlightListViewPostEdgeCasesTest
test_project/alight_foreign_key/test_units.py:647
Class
AlightListViewTest
AlightListView GET/POST behaviour.
test_project/alight_foreign_key/test_units.py:170
Class
AlightOutsideAdminTestCase
test_project/alight_outside_admin/test_functional.py:8
Class
AlightQuerySetSequenceAutoView
AlightQuerySetSequenceAutoView class. Filters the queryset based on the models and filter attributes defined on an :py:class:`AlightGene
src/dal_alight_queryset_sequence/views.py:67
Class
AlightQuerySetSequenceAutoViewTest
AlightQuerySetSequenceAutoView.get_queryset applies forwarding.
test_project/alight_generic_foreign_key/test_units.py:74
Class
AlightQuerySetSequenceView
Combines QuerySetSequence support with autocomplete-light HTML fragments. Returns results grouped by model type, rendered as HTML divs inste
src/dal_alight_queryset_sequence/views.py:14
Class
AlightQuerySetSequenceViewTest
AlightQuerySetSequenceView.render_to_response groups results by model.
test_project/alight_generic_foreign_key/test_units.py:26
Class
AlightQuerySetView
Autocomplete view returning HTML fragments for autocomplete-light. Each result is rendered as ``<div data-value="{pk}">{label}</div>``. When
src/dal_alight/views.py:13
Class
AlightQuerySetViewGetTest
AlightQuerySetView GET returns correct HTML fragments.
test_project/alight_foreign_key/test_units.py:40
Class
AlightStory
CSS selectors and wait logic for the autocomplete-light web component. Drop-in replacement for ``Select2Story``. Mix into ``AutocompleteTest
src/dal_alight/test.py:6
Class
AlightTagAutocompleteView
Convenience base for taggit tag autocomplete views. Returns ``result.name`` as the option value so ``TaggitAlight`` can match tags by name ra
src/dal_alight/views.py:195
Class
AlightWidgetMixin
Mixin that renders the autocomplete-light web component shell. Wraps the underlying ``<select>`` (rendered by ``super().render()``) in::
src/dal_alight/widgets.py:17
Class
AlightWidgetMixinMediaTest
test_project/alight_foreign_key/test_units.py:257
Class
AutocompleteLight
src/dal_alight/static/dal_alight/autocomplete-light.js:1
Class
AutocompleteSelect
src/dal_alight/static/dal_alight/autocomplete-light.js:352
Class
AutocompleteSelectInput
src/dal_alight/static/dal_alight/autocomplete-light.js:297
Class
AutocompleteTestCase
Provide a class-persistent selenium instance and assertions.
src/dal/test/case.py:14
Class
BaseForm
test_project/tests/test_widgets.py:202
Class
BaseQuerySetSequenceView
Base view that uses a QuerySetSequence. Compatible with form fields which use a ContentType id as well as a model pk to identify a value
src/dal_queryset_sequence/views.py:9
Class
BaseQuerySetView
Base view to get results from a QuerySet. .. py:attribute:: create_field Name of the field to use to create missing values. For example,
src/dal/views.py:54
Class
BaseStory
Base UserStory class.
src/dal/test/stories.py:10
Class
BaseWidget
test_project/tests/test_widgets.py:146
Class
Const
Forward arbitrary constant value. .. py:attribute:: val The value to forward. Must be JSON-serializable. .. py:attribute:: dst
src/dal/forward.py:70
Class
ContentTypeModelFieldMixin
Common methods for form fields for GenericForeignKey. ModelChoiceFieldMixin expects options to look like:: <option value="4">Model
src/dal_contenttypes/fields.py:6
Class
ContentTypeModelMultipleFieldMixin
Same as ContentTypeModelFieldMixin, but supports value list.
src/dal_contenttypes/fields.py:33
next →
1–100 of 445, ranked by callers