diff options
| author | Barry Warsaw | 2012-03-15 15:53:59 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-15 15:53:59 -0700 |
| commit | eb0aaa06741675872b0244ce6f9f0c5748391a10 (patch) | |
| tree | 441a8e2b32de59f466a837f072120c36c92f60d4 /src/mailman/rest/docs/addresses.rst | |
| parent | 0589c867988dc70cbe83a53bc9d1e2bbf3108b82 (diff) | |
| parent | ac0f1c3916e797f3a2261e9a2631e496fb90a8f1 (diff) | |
| download | mailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.tar.gz mailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.tar.zst mailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.zip | |
After discussion at Pycon, we're changing "real_name" to "display_name" across
the board.
Schema changes:
- real_name -> display_name (mailinglist, user, address)
Interface changes:
* `IMailingList.real_name` -> `IMailingList.display_name`
* `IUser.real_name` -> `IUser.display_name`
* `IAddress.real_name` -> `IAddress.display_name`
Diffstat (limited to 'src/mailman/rest/docs/addresses.rst')
| -rw-r--r-- | src/mailman/rest/docs/addresses.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/rest/docs/addresses.rst b/src/mailman/rest/docs/addresses.rst index 71ab1f0f3..a8f875d12 100644 --- a/src/mailman/rest/docs/addresses.rst +++ b/src/mailman/rest/docs/addresses.rst @@ -77,10 +77,10 @@ the REST API. >>> cris = user_manager.create_address('cris@example.com', 'Cris Person') >>> transaction.commit() >>> dump_json('http://localhost:9001/3.0/addresses/cris@example.com') + display_name: Cris Person email: cris@example.com http_etag: "..." original_email: cris@example.com - real_name: Cris Person registered_on: 2005-08-01T07:49:23 self_link: http://localhost:9001/3.0/addresses/cris@example.com @@ -115,10 +115,10 @@ addresses live in the /addresses namespace. >>> transaction.commit() >>> dump_json('http://localhost:9001/3.0/users/dave@example.com/addresses') entry 0: + display_name: Dave Person email: dave@example.com http_etag: "..." original_email: dave@example.com - real_name: Dave Person registered_on: 2005-08-01T07:49:23 self_link: http://localhost:9001/3.0/addresses/dave@example.com http_etag: "..." @@ -126,10 +126,10 @@ addresses live in the /addresses namespace. total_size: 1 >>> dump_json('http://localhost:9001/3.0/addresses/dave@example.com') + display_name: Dave Person email: dave@example.com http_etag: "..." original_email: dave@example.com - real_name: Dave Person registered_on: 2005-08-01T07:49:23 self_link: http://localhost:9001/3.0/addresses/dave@example.com |
