summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorArtyom Kotovskiy <artyomkotovskiy@gmail.com>2026-04-25 00:00:31 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-28 13:44:04 -0400
commit5b3cfce51770f46c6dc100e9be7f199a37176762 (patch)
tree100cdc72934c5992d34f75ab43a085f6ba3dadc5 /CONTRIBUTING.rst
parentf3ff680c768a313d34eb2e15eb7322edec60920c (diff)
Refs #15759 -- Fixed ModelAdmin.list_editable form submission for non-editable instances.
Added formset that excludes objects for which user has no permission for POST formset as well. Fixed regression test: the test was not simulating real behaviour properly. By providing full form data for the post request we skipped the part where the user was actually limited in permissions and only modified some of the rows. Improved tests by getting rid of obj.id % 2 approach for granting permissions per object for users, since it is not the safest. Instead granting permissions simply by 'alive' parameter, which is simpler and more stable. Bug in 84db026228413dda4cd195464554d51c0b208e32.
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions