SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit c477e378 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix constants in partnets

parent f31ca559
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ PROSPECTIVE_PARTNER_STATUS = (
)
PROSPECTIVE_PARTNER_EVENT_REQUESTED = 'requested'
PROSPECTIVE_PARTNER_EVENT_COMMENT = 'comment',
PROSPECTIVE_PARTNER_EVENT_COMMENT = 'comment'
PROSPECTIVE_PARTNER_EVENT_EMAIL_SENT = 'email_sent'
PROSPECTIVE_PARTNER_EVENT_INITIATE_NEGOTIATION = 'negotiating'
PROSPECTIVE_PARTNER_EVENT_MARKED_AS_UNINTERESTED = 'marked_as_uninterested'
......
......@@ -145,6 +145,8 @@ def add_prospartner_event(request, prospartner_id):
prospartner.save()
return redirect(reverse('partners:manage'))
else:
t = ppevent_form.errors
raise
errormessage = 'The form was invalidly filled.'
return render(request, 'scipost/error.html', {'errormessage': errormessage})
errormessage = 'This view can only be posted to.'
......
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