﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34964	Reversing the order of Q objects in a CheckConstraint generates a migration	Jacob Walls	Jacob Walls	"Changing `Q(A) & Q(B)` to `Q(B) & Q(A)` (or `Q(B, A)`) generates a migration that drops and recreates the exact same constraint.

Suggesting to build on the work in #34744 to adjust the identity property for Q objects to use a deterministic sort, given that `^`, `&`, and `|` operations are commutative.

[https://github.com/django/django/pull/17466 PR]"	Cleanup/optimization	closed	Migrations	dev	Normal	wontfix	noop	David Sanders David Wobrock	Unreviewed	1	0	0	0	0	0
