Skip to content

Commit

Permalink
Add json example
Browse files Browse the repository at this point in the history
  • Loading branch information
Melissa Draper committed Aug 8, 2012
1 parent 3fad09c commit 7d8b332
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
18 changes: 18 additions & 0 deletions 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",
}
]
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 7d8b332

Please sign in to comment.