Permalink
Browse files

Make the 'no_mail' app use the ZODB.

  • Loading branch information...
1 parent a6463b1 commit ee8fb90378fb2849fe4ec75ee944c906a128a627 @tseaver tseaver committed Nov 7, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 cartouche/no_mail.zcml
@@ -35,4 +35,16 @@
renderer="templates/testing_debug.pt"
/>
+ <!-- Use ZODB for storing pending registration info. -->
+ <adapter provides="cartouche.interfaces.IRegistrations"
+ name="pending"
+ for="*"
+ factory=".persistence.PendingRegistrations" />
+
+ <!-- Use ZODB for storing confirmed registration info. -->
+ <adapter provides="cartouche.interfaces.IRegistrations"
+ name="confirmed"
+ for="*"
+ factory=".persistence.ConfirmedRegistrations" />
+
</configure>

0 comments on commit ee8fb90

Please sign in to comment.