Skip to content
Snippets Groups Projects
Commit a5b3789e authored by Todd Dembrey's avatar Todd Dembrey
Browse files

fixup! Refactor the messaging to send less messages

parent e92af7e5
No related branches found
No related tags found
No related merge requests found
# Generated by Django 2.0.2 on 2018-08-23 16:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('activity', '0009_add_private_option'),
]
operations = [
migrations.AlterField(
model_name='event',
name='type',
field=models.CharField(choices=[('UPDATE_LEAD', 'Update Lead'), ('EDIT', 'Edit'), ('APPLICANT_EDIT', 'Applicant Edit'), ('NEW_SUBMISSION', 'New Submission'), ('TRANSITION', 'Transition'), ('DETERMINATION_OUTCOME', 'Determination Outcome'), ('INVITED_TO_PROPOSAL', 'Invited To Proposal'), ('REVIEWERS_UPDATED', 'Reviewers Updated'), ('READY_FOR_REVIEW', 'Ready For Review'), ('NEW_REVIEW', 'New Review'), ('COMMENT', 'Comment'), ('PROPOSAL_SUBMITTED', 'Proposal Submitted'), ('OPENED_SEALED', 'Opened Sealed Submission')], max_length=50),
),
]
...@@ -323,7 +323,7 @@ class ApplicantSubmissionEditView(BaseSubmissionEditView): ...@@ -323,7 +323,7 @@ class ApplicantSubmissionEditView(BaseSubmissionEditView):
MESSAGES.PROPOSAL_SUBMITTED, MESSAGES.PROPOSAL_SUBMITTED,
request=self.request, request=self.request,
user=self.request.user, user=self.request.user,
submission=self.object.instance, submission=self.object,
) )
elif created: elif created:
messenger( messenger(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment