﻿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
34936	db_default with decimal.Decimal() crashes on SQLite.	Mariusz Felisiak	David Sanders	"`db_default` with `decimal.Decimal()` crashes on SQLite. For example, adding the following field
{{{#!python
models.DecimalField(null=True, max_digits=5, decimal_places=2, db_default=Decimal(""3.33"")
}}}
generates:
{{{#!sql
ALTER TABLE ""test_adfldd_pony"" ADD COLUMN ""height"" decimal DEFAULT CAST('3.33' AS NUMERIC) NULL;
}}}
and crashes with:
{{{
django.db.utils.OperationalError: near ""("": syntax error
}}}"	Bug	closed	Database layer (models, ORM)	5.0	Release blocker	fixed		Lily Foote	Ready for checkin	1	0	0	0	0	0
