Skip to content
Browse files

Add json example

  • Loading branch information...
1 parent 3fad09c commit 7d8b3329b4083ee821f7151b325f5d56bad74319 @meldra committed Aug 9, 2012
Showing with 19 additions and 3 deletions.
  1. +18 −0 EXAMPLE_JSON.txt
  2. +1 −3 README.md
View
18 EXAMPLE_JSON.txt
@@ -0,0 +1,18 @@
+[
+ {
+ "mobile" : "555-0100",
+ "email" : "jill@example.com",
+ "home" : "555-0101",
+ "irc_nick" : "jilly",
+ "surname" : "Hill",
+ "first_name" : "Jill",
+ },
+ {
+ "mobile" : "555-0102",
+ "email" : "jack@example.com",
+ "home" : "555-0103",
+ "irc_nick" : "jacko",
+ "surname" : "Hill",
+ "first_name" : "Jack",
+ }
+]
View
4 README.md
@@ -39,16 +39,14 @@ Brief, and possibly incomplete at this point:
* Mailman baseurl Remember the trailing slash!
`MAILMAN_BASEURL = 'https://<your whereis mbox>`
- * Url to get a json response with directory info for alias mapping
+ * Url to get a json response with directory info for alias mapping (see EXAMPLE_JSON.txt)
`DIRECTORY_JSON = '<url to some json with names, email, phone, etc details).js'`
* To the bottom of your settings.py, add the <yourmailmanlisturl> portion
of the above url format. Remember the trailing slash!
* If you don't want this in debug mode, make that change to settings.py
* `python manage.py runserver ip.addr.of.choice:port`
-
-
### WISHLIST FEATURES ###
* Aliases for different email addresses
* Reply catching/threading

0 comments on commit 7d8b332

Please sign in to comment.
Something went wrong with that request. Please try again.