2727from ietf .name .models import BallotPositionName
2828from ietf .person .models import Person
2929from ietf .utils .mail import send_mail_text , send_mail_preformatted
30- from ietf .mailtoken .utils import gather_address_lists
31- from ietf .mailtoken .forms import CcSelectForm
30+ from ietf .mailtrigger .utils import gather_address_lists
31+ from ietf .mailtrigger .forms import CcSelectForm
3232
3333BALLOT_CHOICES = (("yes" , "Yes" ),
3434 ("noobj" , "No Objection" ),
@@ -289,7 +289,7 @@ def send_ballot_comment(request, name, ballot_id):
289289
290290 if request .method == 'POST' :
291291 cc = []
292- cc_select_form = CcSelectForm (data = request .POST ,mailtoken_slug = 'ballot_saved' ,mailtoken_context = {'doc' :doc })
292+ cc_select_form = CcSelectForm (data = request .POST ,mailtrigger_slug = 'ballot_saved' ,mailtrigger_context = {'doc' :doc })
293293 if cc_select_form .is_valid ():
294294 cc .extend (cc_select_form .get_selected_addresses ())
295295 extra_cc = [x .strip () for x in request .POST .get ("extra_cc" ,"" ).split (',' ) if x .strip ()]
@@ -302,7 +302,7 @@ def send_ballot_comment(request, name, ballot_id):
302302
303303 else :
304304
305- cc_select_form = CcSelectForm (mailtoken_slug = 'ballot_saved' ,mailtoken_context = {'doc' :doc })
305+ cc_select_form = CcSelectForm (mailtrigger_slug = 'ballot_saved' ,mailtrigger_context = {'doc' :doc })
306306
307307 return render_to_response ('doc/ballot/send_ballot_comment.html' ,
308308 dict (doc = doc ,
0 commit comments