[ckan-dev] MIN_TAG_LENGTH

Harald von Waldow harald.vonwaldow at eawag.ch
Thu Oct 29 15:12:40 UTC 2015


Hi,

I need to use strings with length 1 as tags (eg. representing chemical
elements such as "C" for carbon). ckan.model.MIN_TAG_LENGTH = 2 prevents
me from defining those.

What is the reason that not MIN_TAG_LENGTH = 1?

What is the proper way to override this constant?

Related: Why can't tags contain non-aphanumeric characters other than
[_-.]? ( "Si(OH)4" would be nice.)


Thanks,
Harald


-- 
Harald von Waldow
Eawag
ICT Services
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20151029/1906225f/attachment-0002.sig>


More information about the ckan-dev mailing list