--- a/schemas/base.py Mon Oct 25 15:30:50 2010 +0200
+++ b/schemas/base.py Mon Oct 25 15:31:29 2010 +0200
@@ -261,7 +261,8 @@
'update': ('managers',),
'delete': ('managers',),
}
- match_host = String(required=True, unique=True, maxsize=128,
+ __unique_together__ = [('match_host', 'cw_host_config_of')]
+ match_host = String(required=True, maxsize=128,
description=_('regexp matching host(s) to which this config applies'))
config = String(required=True,
description=_('Source\'s configuration for a particular host. '