diff options
| author | Barry Warsaw | 2012-12-28 16:35:08 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-12-28 16:35:08 -0500 |
| commit | 582d6e486f9693a2ce082071b747eec468df19b6 (patch) | |
| tree | c25dcc945f161c6d44154c20de72793702be313e /src/mailman/model/mailinglist.py | |
| parent | 2b663ac20e7898167cf242d3628f8cf0feeab12f (diff) | |
| download | mailman-582d6e486f9693a2ce082071b747eec468df19b6.tar.gz mailman-582d6e486f9693a2ce082071b747eec468df19b6.tar.zst mailman-582d6e486f9693a2ce082071b747eec468df19b6.zip | |
LP: #975692 phase 1
* Rework list style management. No more style priorities or matching.. Now,
you name a style explicitly to apply and that's it.
* create_list() now takes a `style` argument.
* config file now names both a default style to use, and a set of paths to
scan for IStyle instances. (This could be a model for other plugins.)
* added IMailingList.style_name to record the last style applied, but this is
going to be removed in subsequent revisions.
Also:
* Move find_components() and scan_module() from app/finder.py to
utilities/modules.py
* Cleaned up lifecycle.rst for better documentation. Some tests moved to
test_lifecycle.py.
* Remove some unnecessary test tearDown() code.
Diffstat (limited to 'src/mailman/model/mailinglist.py')
| -rw-r--r-- | src/mailman/model/mailinglist.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/model/mailinglist.py b/src/mailman/model/mailinglist.py index 324e1a1c8..a78745936 100644 --- a/src/mailman/model/mailinglist.py +++ b/src/mailman/model/mailinglist.py @@ -87,6 +87,7 @@ class MailingList(Model): include_rfc2369_headers = Bool() advertised = Bool() anonymous_list = Bool() + style_name = Unicode() # Attributes not directly modifiable via the web u/i created_at = DateTime() admin_member_chunksize = Int() |
