wagtail-generic-chooser
wagtail-generic-chooser copied to clipboard
A toolkit for custom chooser popups in Wagtail
``` generic_chooser\views.py", line 269, in get_paginated_object_list paginator = APIPaginator(result['meta']['total_count'], self.per_page) KeyError: 'meta' ``` `meta` isn't a standard key in any of the base DRF responses. If this is meant to...
Hello. In the readme we have this text... > First, we customise the chooser view to expose a `country` URL parameter; to do this, we define a custom `chooser_mixin_class` for...
## Example Use Case * A `Document` chooser block that will restrict file types based on some generic kwargs passed into the Block declaration * e.g. `doc_block = RestrictedDocumentChooserBlock(accept="svg,md")` OR...
Wagtail issue https://github.com/wagtail/wagtail/issues/4006 points out that it's possible to open two modals in the Wagtail admin by quickly clicking the chooser button twice. With slow-responding APIs, this becomes more of...
or link to a demo site :slightly_smiling_face:
`LinkChooserPanel` would provide a `panels`-based interface to easily set the value for a field that is defined on a Django model. And, more specifically, if the field is defined as...