datatracker/ietf
Bill Fenner 19d77b754a Add mail-sending module. It uses the django settings file for several
bits of configuration (e.g., mail server, any authentication required,
etc.)  It has different behavior based on the setting of the
SERVER_MODE setting:

 - 'development' or 'test': the message will be sent as an attachment
   to ietf.tracker.archive+SERVER_MODE@gmail.com; the actual destination
   supplied won't be used.

 - 'production': the message will be sent to the addressees and a
   copy sent to ietf.tracker.archive+production@gmail.com .

There are several functions to call, depending on what you want
to pass:

 - send_mail_text() takes a request, "To:" list, From header (or None
   to default), Subject text, Body text, an optional Cc: list, and
   an optional dict with extra headers.

 - send_mail() takes a template and a context instead of the body text,
   and renders the template with the given context.

 - send_mail_subj() takes a template for the subject as well as for the
   body.  It uses the same context to render both templates.
 - Legacy-Id: 159
2007-05-24 17:17:47 +00:00
..
agenda - Legacy-Id: 111 2007-05-09 21:05:20 +00:00
announcements Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
bin Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
contrib Allow specifying querysets. 2007-05-22 19:53:28 +00:00
database-notes Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
idindex Use (some) new class functions to generate choices 2007-05-10 22:09:27 +00:00
idtracker Need to order WG sessions by area 2007-05-22 20:27:36 +00:00
iesg Move the logic part to views.py for IESG announcement pages 2007-05-10 21:31:47 +00:00
ietfauth Introduce initial authentication/authorization linkage. This has a 2007-05-23 16:10:32 +00:00
ipr IPR disclosure form submission now works. 2007-05-23 20:11:34 +00:00
liaisons Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
mailinglists Rearrange nwg model to get the fields in the right order. 2007-05-22 19:56:20 +00:00
meeting Use get() instead of filter()[0]. This results in a better exception 2007-05-23 16:56:07 +00:00
my Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
proceedings Allow day_id to be NULL, since breakfast time is stored that way. 2007-05-23 17:22:16 +00:00
redirects Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
templates IPR disclosure form submission now works. 2007-05-23 20:11:34 +00:00
utils Add mail-sending module. It uses the django settings file for several 2007-05-24 17:17:47 +00:00
.gitignore removed extraneous .pyc files 2007-05-09 21:55:44 +00:00
__init__.py Added __version__ string 2007-05-11 15:45:45 +00:00
manage.py Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
middleware.py Added prettifying middleware (from djangosnippet 172) 2007-05-06 05:14:25 +00:00
query.py There is a known bug with order_by clause that returns error message when tables are joined with different field name. Please look up http://code.djangoproject.com/ticket/2210. I downloaded the patch file, replaced the existing -dir/django/db/models/query.py, and order_by in joined tables worked fine. 2007-05-15 19:47:43 +00:00
settings.py Add mail-sending module. It uses the django settings file for several 2007-05-24 17:17:47 +00:00
urls.py - Legacy-Id: 111 2007-05-09 21:05:20 +00:00
views.py Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00