[ckan-dev] formalchemy still here?
David Read
david.read at hackneyworkshop.com
Wed Jun 26 10:17:57 UTC 2013
Can anyone explain the continued existence[1] of formalchemy in master
CKAN? It looks like Toby did some of the removing of it last October,
but there are still a few references. It seems an unnecessary
dependency - is there any logic to keeping it?
[1]
./ckan/lib/field_types.py: import formalchemy
./ckan/lib/field_types.py: raise formalchemy.ValidationError(e)
./ckan/config/routing.py: ##to get back formalchemy uncomment these lines
./ckan/config/routing.py: ##map.connect('/group/new',
controller='group_formalchemy', action='new')
./ckan/config/routing.py: ##map.connect('/group/edit/{id}',
controller='group_formalchemy', action='edit')
./ckan/tests/lib/test_field_types.py:import formalchemy
./ckan/tests/lib/test_field_types.py:
self.assertRaises(formalchemy.ValidationError,
DateType.form_validator, date_str)
./setup.py: 'formalchemy>=1.4.2',
[2] https://github.com/okfn/ckan/pull/146/files#L1L207
Dave
More information about the ckan-dev
mailing list