Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better wiring for 'no_mail' profile.

Include the 'home_page' profile and then supply the no-mail adapter.
  • Loading branch information...
commit 40ccb406405b9de0107e322ec42e66c4ec6e2c31 1 parent 468f605
@tseaver tseaver authored
Showing with 1 addition and 37 deletions.
  1. +1 −37 cartouche/no_mail.zcml
View
38 cartouche/no_mail.zcml
@@ -5,46 +5,10 @@
<!-- include the standard views, resources -->
<include package="cartouche" file="meta.zcml"/>
- <include package="cartouche" />
+ <include package="cartouche" file="homepage.zcml"/>
<!-- "deliver" mail by printing to the console -->
<utility provides="repoze.sendmail.interfaces.IMailDelivery"
factory=".testing.FauxMailDelivery" />
- <!-- Simple homepage for testing. -->
- <view
- context=".models.Root"
- view=".testing.homepage_view"
- renderer="templates/testing_homepage.pt"
- />
-
- <!-- Simple protected page for testing. -->
- <view
- context=".models.Root"
- name="protected.html"
- view=".testing.homepage_view"
- renderer="templates/testing_homepage.pt"
- permission="view"
- />
-
- <!-- Dump pending / confirmed registration info for testing. -->
- <view
- context=".models.Root"
- name="debug.html"
- view=".testing.debug_view"
- 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>
Please sign in to comment.
Something went wrong with that request. Please try again.