﻿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
36739	`manage.py check` unexpectedly accesses database when JSONField is used	Storm Heg		"I suspect this is a regression in https://github.com/django/django/commit/3aba1fced8254435b947467739721ec6b4fb865c, the commit message does not suggest to me that this was intentional.

Issue: if you run `manage.py check` in a project that uses `django.db.models.JSONField`, the `support_json_field` SQLite feature detection is now being run (https://github.com/django/django/blob/d506e4a52847ed4fb80754175d76b6b83ff90929/django/db/backends/sqlite3/features.py#L160) which unexpectedly interacts with the database.

This surfaced in the test suite of a package `django-otp-webauthn`, where it validates its own system checks behave as expected. The test cases in question are not marked as requiring database access, which is why the test against django's main branch started failing last night: https://github.com/Stormbase/django-otp-webauthn/actions/runs/19415998875/job/55581034014

Raising this here as a potential bug, feel free to close if not a bug (though a mention in 6.1 upgrade considerations would be welcome in that case)

"	Bug	closed	Core (System checks)	dev	Normal	invalid		Storm Heg Simon Charette Tim Graham	Unreviewed	0	0	0	0	0	0
