Matt Westcott
Matt Westcott
Hi @narun4sk - please use the [Wagtail tag on Stack Overflow](https://stackoverflow.com/questions/tagged/wagtail) for support queries, or see [the Support page in the documentation](https://docs.wagtail.io/en/stable/support.html) for other options.
In theory, the ability to vary the EditHandler based on the current user already exists, via the 'bind to request' mechanism implemented in #4749. There's even an example of it...
Thanks for your interest @manvith12! We do not assign issues outside of the core team - anyone is free to work on any issue. We recommend thoroughly reading https://docs.wagtail.org/en/latest/contributing/first_contribution_guide.html before...
I'm wondering if the "shirt size" example in the docs is really correct - doesn't Django automatically provide the "get_FOO_display" for fields with a `choices` option? https://docs.djangoproject.com/en/4.2/ref/models/instances/#django.db.models.Model.get_FOO_display ...in which case,...
> This ability is now moved to the wagtailadmin/generic/index.html template, in case people still use it somehow. Very unlikely, so we in theory can also remove it from the wagtailadmin/generic/index.html...
Test failure for StreamField JSON lookups seems to be affecting MySQL and Postgres but not Sqlite... 🤔 edit: ah, that's because the test is marked with `@skipUnlessDBFeature("supports_json_field_contains")` and Sqlite [doesn't...
From further experimentation, it seems that the comment in https://github.com/wagtail/wagtail/pull/9693#discussion_r1027830773 about the clause in `get_prep_value` not being needed from Django 4.2 onward was inaccurate - in [`test_json_contains_lookup`](https://github.com/wagtail/wagtail/blob/e06ec6d28eb2044e68ebcda6bc5b2c0e6736b9f8/wagtail/tests/test_streamfield.py#L633-L640), both `get_prep_value` and...
@laymonage Ah, thanks! I _think_ I tested against a snapshot of Django 4.2-dev immediately after the `get_db_prep_value` change, to cover the possibility that there might have been a window of...
@laymonage Sounds like the best thing for me to do at this point is create a new PR with the less tricky updates, and come back to this when I...