Add support for updating the stream description

The stream description can now be updated, but the UI is not yet updated
on success.

(imported from commit f45e0a9d5138d828ae98d6d49645ab3ddc966704)
This commit is contained in:
Jason Michalski
2014-01-22 14:20:10 -05:00
parent 4104f00229
commit 1f98c4f4ce
5 changed files with 89 additions and 4 deletions

View File

@@ -177,6 +177,7 @@ v1_api_and_json_patterns = patterns('zerver.views',
url(r'^streams/(?P<stream_name>.*)$', 'rest_dispatch',
{'HEAD': 'stream_exists_backend',
'GET': 'stream_exists_backend',
'PATCH': 'update_stream_backend',
'DELETE': 'deactivate_stream_backend'}),
url(r'^users$', 'rest_dispatch',
{'GET': 'get_members_backend',