﻿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
33010	id to uuid type casting bug in Django 2.2	Stygmate	nobody	"in some case Django try to convert simple incremental integer id to UUID.

this problem was encountered while trying django-computedfields lib.
here is the test project, initialy created to check if the bug come from django-computedfields: https://github.com/stygmate/dcftest
(check the models.py in dcfapp)
when doing:
ModelA.objects.filter(modelb=some_modelb_instance)
the SQL query generated is casting id to uuid resulting in 0000....-.....-0001 and in a query error.

Things seems to work well with django 3.2, can someone backport the correction to django 2.2 ?"	Bug	closed	Database layer (models, ORM)	2.2	Normal	wontfix			Unreviewed	0	0	0	0	0	0
