diff options
| author | Barry Warsaw | 2009-01-01 17:07:06 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-01 17:07:06 -0500 |
| commit | 2413e18a366024b9d64bf6eb7d8afee50f7441da (patch) | |
| tree | e703dd9c4db3a3bfd1773c6d8d1fa7c403f720d8 /mailman/docs | |
| parent | 6e22adb521769a666d3db85384d619528d7982a0 (diff) | |
| download | mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.tar.gz mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.tar.zst mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.zip | |
All tests are now passing!
Diffstat (limited to 'mailman/docs')
| -rw-r--r-- | mailman/docs/lifecycle.txt | 1 | ||||
| -rw-r--r-- | mailman/docs/styles.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mailman/docs/lifecycle.txt b/mailman/docs/lifecycle.txt index 8531c6245..ab5e6ac23 100644 --- a/mailman/docs/lifecycle.txt +++ b/mailman/docs/lifecycle.txt @@ -57,6 +57,7 @@ Start by registering a test style. ... # Applies to any test list ... if 'test' in mailing_list.fqdn_listname: ... styles.append(self) + >>> from mailman.core.styles import style_manager >>> style_manager.register(TestStyle()) diff --git a/mailman/docs/styles.txt b/mailman/docs/styles.txt index 6397666ae..f75a34798 100644 --- a/mailman/docs/styles.txt +++ b/mailman/docs/styles.txt @@ -14,7 +14,8 @@ modify the mailing list any way it wants. Let's start with a vanilla mailing list and a default style manager. >>> mlist = config.db.list_manager.create(u'_xtest@example.com') - >>> from mailman.core.styles import style_manager + >>> from mailman.core.styles import StyleManager + >>> style_manager = StyleManager() The default style |
