Permalink
Browse files

Change the settings structure

  • Loading branch information...
1 parent 8596cd0 commit e0f723b0da6efcd77e9256c038bb64e90d0e0573 @paltman paltman committed Nov 10, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −6 docs/settings.rst
View
@@ -12,19 +12,17 @@ configured by this setting. Here is an example::
from emailconfirmation.reminders import confirmed
- REMINDERS = [
- {
- "label": "profile_completed",
+ REMINDERS = {
+ "profile_completed": {
"test": "profiles.reminders.completed",
"message": "You have only completed %(percentage)s%% of your <a href="%(url)s">profile</a>.",
"dismissable": False
},
- {
- "label": "email_confirmed",
+ "email_confirmed": {
"test": lambda user: confirmed(user),
"message": "Please <a href="%(url)">confirm</a> your email address."
}
- ]
+ }
Callable API

0 comments on commit e0f723b

Please sign in to comment.