MCPcopy Create free account

hub / github.com/yourlabs/django-autocomplete-light / types & classes

Types & classes445 in github.com/yourlabs/django-autocomplete-light

↓ 10 callersClassModelAlight
Single-select autocomplete widget backed by a QuerySet.
src/dal_alight/widgets.py:72
↓ 8 callersClassOwnedFixtures
Fixtures for models with an "owner" relation to User.
src/dal/test/utils.py:33
↓ 6 callersClassForm
test_project/tests/test_widgets.py:47
↓ 4 callersClassAlightListChoiceField
src/dal_alight/fields.py:4
↓ 3 callersClassAlightListCreateChoiceField
src/dal_alight/fields.py:8
↓ 3 callersClassFixtures
Callback for post_migrate to create many objects.
src/dal/test/utils.py:5
↓ 3 callersClassSelect2GroupListViewAutocompleteTest
test_project/select2_list/test_views.py:20
↓ 3 callersClassSelect2GroupProvidedValueListViewAutocompleteTest
test_project/select2_list/test_views.py:46
↓ 3 callersClassTForm
test_project/select2_generic_foreign_key/forms.py:10
↓ 3 callersClassTForm
test_project/alight_generic_foreign_key/forms.py:10
↓ 2 callersClassAlight
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 callersClassModelAlightMultiple
Multi-select autocomplete widget backed by a QuerySet.
src/dal_alight/widgets.py:80
↓ 2 callersClassSelect2
Select2 widget for regular choices.
src/dal_select2/widgets.py:100
↓ 2 callersClassSelect2ListView
Autocomplete from a list of items rather than a QuerySet.
src/dal_select2/views.py:117
↓ 2 callersClassSelect2ProvidedValueListViewAutocompleteTest
test_project/select2_list/test_views.py:31
↓ 2 callersClassTForm
test_project/select2_linked_data/forms.py:8
↓ 1 callersClassAlightMultiple
Multiple-select autocomplete for arbitrary choices.
src/dal_alight/widgets.py:101
↓ 1 callersClassChoiceCallable
Choices wrapper that supports callable choices.
src/dal/fields.py:4
↓ 1 callersClassFakeTag
test_project/alight_foreign_key/test_units.py:715
↓ 1 callersClassFakeTaggedItem
test_project/alight_foreign_key/test_units.py:718
↓ 1 callersClassForm1
test_project/tests/test_widgets.py:208
↓ 1 callersClassForm2
test_project/tests/test_widgets.py:215
↓ 1 callersClassListAlight
Single-select autocomplete backed by ``AlightListView``. Use alongside ``AlightListView`` on the server.
src/dal_alight/widgets.py:105
↓ 1 callersClassModelSelect2
Select widget for QuerySet choices and Select2.
src/dal_select2/widgets.py:116
↓ 1 callersClassNestedAdminError
test_project/select2_nestedadmin/urls.py:8
↓ 1 callersClassQuerySetSequenceAlight
Single-select autocomplete-light widget for QuerySetSequence.
src/dal_alight_queryset_sequence/widgets.py:21
↓ 1 callersClassQuerySetSequenceSelect2
Single model select for a generic select2 autocomplete.
src/dal_select2_queryset_sequence/widgets.py:16
↓ 1 callersClassSelect
Replacement for Django's Select to render only selected choices.
src/dal/widgets.py:146
↓ 1 callersClassSelect2ListViewAutocompleteTest
test_project/select2_list/test_views.py:15
↓ 1 callersClassTForm
test_project/alight_taggit/forms.py:8
↓ 1 callersClassTModel
test_project/select2_generic_foreign_key/models.py:5
↓ 1 callersClassTModel
test_project/alight_generic_foreign_key/models.py:5
↓ 1 callersClassTModelSelect2
test_project/custom_select2/widgets.py:6
↓ 1 callersClassTagAlight
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 callersClassTaggitAlight
src/dal_alight/widgets.py:171
↓ 1 callersClassWidget
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
ClassAddAnotherOption
Add-another user story.
src/dal/test/stories.py:310
ClassAdminForeignKeyTestCase
test_project/alight_foreign_key/test_functional.py:7
ClassAdminForeignKeyTestCase
test_project/select2_djhacker_formfield/test_functional.py:6
ClassAdminForeignKeyTestCase
test_project/alight_djhacker_formfield/test_functional.py:6
ClassAdminForeignKeyTestCase
test_project/custom_select2/test_functional.py:7
ClassAdminForeignKeyTestCase
test_project/select2_foreign_key/test_functional.py:7
ClassAdminGenericForeignKeyTestCase
test_project/select2_generic_foreign_key/test_functional.py:7
ClassAdminGenericForeignKeyTestCase
test_project/alight_generic_foreign_key/test_functional.py:7
ClassAdminGlobalSearchView
Global search across all admin-registered models for the topbar.
test_project/views.py:29
ClassAdminLinkedDataTest
test_project/select2_linked_data/test_functional.py:8
ClassAdminLinkedDataTest
test_project/select2_secure_data/test_functional.py:8
ClassAdminLinkedDataTestCase
test_project/alight_linked_data/test_functional.py:8
ClassAdminListTestCase
test_project/alight_list/test_functional.py:7
ClassAdminManyToManyTestCase
test_project/select2_many_to_many/test_functional.py:7
ClassAdminManyToManyTestCase
test_project/alight_many_to_many/test_functional.py:7
ClassAdminMixin
Mixin for tests that should happen in ModelAdmin.
src/dal/test/case.py:93
ClassAdminNestedLinkedDataTest
test_project/alight_nestedadmin/test_functional.py:10
ClassAdminNestedLinkedDataTest
test_project/select2_nestedadmin/test_functional.py:9
ClassAdminOneToOneTestCase
test_project/select2_one_to_one/test_functional.py:9
ClassAdminOneToOneTestCase
test_project/alight_one_to_one/test_functional.py:9
ClassAdminRenameForwardTest
test_project/alight_rename_forward/test_functional.py:8
ClassAdminSecureDataTest
test_project/alight_secure_data/test_functional.py:8
ClassAdminSelect2List
test_project/select2_list/test_functional.py:13
ClassAdminTagTestCase
test_project/alight_tag/test_functional.py:7
ClassAlightCreateOption
Create an option on the fly — alight backend.
src/dal/test/stories.py:331
ClassAlightCreateOptionMultiple
Multiple-select variant of AlightCreateOption.
src/dal/test/stories.py:445
ClassAlightGenericForeignKeyModelField
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
ClassAlightGroupListView
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
ClassAlightGroupListViewTest
AlightGroupListView renders grouped HTML fragments from a list.
test_project/alight_foreign_key/test_units.py:575
ClassAlightGroupQuerySetView
Grouped queryset view — mirrors Select2GroupQuerySetView. Results are rendered as:: <div class="autocomplete-light-group">Group label</d
src/dal_alight/views.py:76
ClassAlightGroupQuerySetViewTest
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
ClassAlightInitialRenderMixinTest
test_project/alight_foreign_key/test_units.py:345
ClassAlightLinkedDataView
test_project/alight_linked_data/urls.py:8
ClassAlightListChoiceFieldTest
test_project/alight_foreign_key/test_units.py:456
ClassAlightListCreateChoiceFieldTest
test_project/alight_foreign_key/test_units.py:479
ClassAlightListView
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
ClassAlightListViewPostEdgeCasesTest
test_project/alight_foreign_key/test_units.py:647
ClassAlightListViewTest
AlightListView GET/POST behaviour.
test_project/alight_foreign_key/test_units.py:170
ClassAlightOutsideAdminTestCase
test_project/alight_outside_admin/test_functional.py:8
ClassAlightQuerySetSequenceAutoView
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
ClassAlightQuerySetSequenceAutoViewTest
AlightQuerySetSequenceAutoView.get_queryset applies forwarding.
test_project/alight_generic_foreign_key/test_units.py:74
ClassAlightQuerySetSequenceView
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
ClassAlightQuerySetSequenceViewTest
AlightQuerySetSequenceView.render_to_response groups results by model.
test_project/alight_generic_foreign_key/test_units.py:26
ClassAlightQuerySetView
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
ClassAlightQuerySetViewGetTest
AlightQuerySetView GET returns correct HTML fragments.
test_project/alight_foreign_key/test_units.py:40
ClassAlightStory
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
ClassAlightTagAutocompleteView
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
ClassAlightWidgetMixin
Mixin that renders the autocomplete-light web component shell. Wraps the underlying ``<select>`` (rendered by ``super().render()``) in::
src/dal_alight/widgets.py:17
ClassAlightWidgetMixinMediaTest
test_project/alight_foreign_key/test_units.py:257
ClassAutocompleteLight
src/dal_alight/static/dal_alight/autocomplete-light.js:1
ClassAutocompleteSelect
src/dal_alight/static/dal_alight/autocomplete-light.js:352
ClassAutocompleteSelectInput
src/dal_alight/static/dal_alight/autocomplete-light.js:297
ClassAutocompleteTestCase
Provide a class-persistent selenium instance and assertions.
src/dal/test/case.py:14
ClassBaseForm
test_project/tests/test_widgets.py:202
ClassBaseQuerySetSequenceView
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
ClassBaseQuerySetView
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
ClassBaseStory
Base UserStory class.
src/dal/test/stories.py:10
ClassBaseWidget
test_project/tests/test_widgets.py:146
ClassConst
Forward arbitrary constant value. .. py:attribute:: val The value to forward. Must be JSON-serializable. .. py:attribute:: dst
src/dal/forward.py:70
ClassContentTypeModelFieldMixin
Common methods for form fields for GenericForeignKey. ModelChoiceFieldMixin expects options to look like:: <option value="4">Model
src/dal_contenttypes/fields.py:6
ClassContentTypeModelMultipleFieldMixin
Same as ContentTypeModelFieldMixin, but supports value list.
src/dal_contenttypes/fields.py:33
next →1–100 of 445, ranked by callers