﻿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
29505	SchemaEditor prohibits setting a field's default value to a callable that'll be used as the default	Eugene Pakhomov	nobody	"I'm trying to use https://github.com/cognitect/transit-python and I created a custom `KeywordField` for this.
The problem is that `transit.transit_types.Keyword` is a callable. Now, even if I override `_get_default` in `KeywordField`, it still won't work because `django.db.backends.base.schema.BaseDatabaseSchemaEditor#effective_default` checks the value again.

I think a simple fix would be to remove this check from `effective_default` and immediately make a call where it's necessary (`datetime.date` etc)."	Bug	closed	Migrations	2.0	Normal	fixed	default		Accepted	1	0	0	0	0	0
