diff --git a/tailbone/app.py b/tailbone/app.py index b94cd443..2d2f86fe 100644 --- a/tailbone/app.py +++ b/tailbone/app.py @@ -132,6 +132,9 @@ def make_pyramid_config(settings): formalchemy.config.engine = TemplateEngine() formalchemy.FieldSet.default_renderers[sa.Boolean] = renderers.YesNoFieldRenderer formalchemy.FieldSet.default_renderers[sa.Date] = renderers.DateFieldRenderer + # TODO: Maybe implement our own some day, but for now we must include this + # DateTime fix to work around a bug in edbob code. + formalchemy.FieldSet.default_renderers[sa.DateTime] = formalchemy.DateTimeFieldRenderer formalchemy.FieldSet.default_renderers[GPCType] = renderers.GPCFieldRenderer return config