src/pyams_content/configure.zcml
changeset 0 7c0001cacf8e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/configure.zcml	Thu Oct 08 13:37:29 2015 +0200
@@ -0,0 +1,17 @@
+<configure
+	xmlns="http://pylonshq.com/pyramid"
+	xmlns:i18n="http://namespaces.zope.org/i18n"
+	i18n_domain="pyams_content">
+
+	<include package="pyramid_zcml" />
+
+	<include package="zope.i18n" file="meta.zcml" />
+
+	<i18n:registerTranslations directory="locales" />
+
+	<!-- KeyReference adapters -->
+	<adapter
+		factory="zope.keyreference.persistent.KeyReferenceToPersistent"
+		for="persistent.interfaces.IPersistent" />
+
+</configure>