@handle_response_format
@treeio_login_required
def mlist_edit(request, mlist_id, response_format='html'):
 user = request.user.profile
 mlist = get_object_or_404(MailingList, pk=mlist_id)
 if (not user.has_permission(mlist, mode='w')):
  return user_denied(request, message="You don't have access to this Mailing List", response_format=response_format)
 context = _get_default_context(request)
 context.update({'mlist': mlist})
 return render_to_response('messaging/mlist_edit', context, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def mlist_edit ( request , mlist_id , response_format = 'html' ) : user = request . user . profile mlist = get_object_or_404 ( MailingList , pk = mlist_id ) if ( not user . has_permission ( mlist , mode = 'w' ) ) : return user_denied ( request , message = "You don't have access to this Mailing List" , response_format = response_format ) context = _get_default_context ( request ) context . update ( { 'mlist' : mlist } ) return render_to_response ( 'messaging/mlist_edit' , context , context_instance = RequestContext ( request ) , response_format = response_format )
mailinglist edit page .