production.views module

production.views.production(request, stream_id=None)[source]

Overview page for the production process. All papers with accepted but not yet published status are included here.

production.views.completed(request)[source]

Overview page for closed production streams.

production.views.stream(request, stream_id)[source]

Overview page for specific stream.

production.views.user_to_officer(request)[source]
production.views.delete_officer(request, officer_id)[source]
production.views.update_status(request, stream_id)[source]
production.views.add_event(request, stream_id)[source]
production.views.add_work_log(request, stream_id)[source]
production.views.add_officer(request, stream_id)[source]
production.views.add_invitations_officer(request, stream_id)[source]
production.views.remove_officer(request, stream_id, officer_id)[source]
production.views.remove_invitations_officer(request, stream_id, officer_id)[source]
production.views.add_supervisor(request, stream_id)[source]
production.views.remove_supervisor(request, stream_id, officer_id)[source]
class production.views.UpdateEventView(**kwargs)[source]

Bases: django.views.generic.edit.UpdateView

model

alias of production.models.ProductionEvent

form_class

alias of production.forms.ProductionEventForm

slug_field = 'id'
slug_url_kwarg = 'event_id'
get_queryset()[source]

Return the QuerySet that will be used to look up the object.

This method is called by the default implementation of get_object() and may not be called if get_object() is overridden.

form_valid(form)[source]

If the form is valid, save the associated model.

dispatch(request, *args, **kwargs)
class production.views.DeleteEventView(**kwargs)[source]

Bases: django.views.generic.edit.DeleteView

model

alias of production.models.ProductionEvent

slug_field = 'id'
slug_url_kwarg = 'event_id'
get_queryset()[source]

Return the QuerySet that will be used to look up the object.

This method is called by the default implementation of get_object() and may not be called if get_object() is overridden.

form_valid(form)[source]
get_success_url()[source]
dispatch(request, *args, **kwargs)
production.views.mark_as_completed(request, stream_id)[source]
production.views.upload_proofs(request, stream_id)[source]

Called by a member of the Production Team. Upload the production version .pdf of a submission.

production.views.proofs(request, stream_id, version)[source]

Called by a member of the Production Team. Upload the production version .pdf of a submission.

production.views.proofs_pdf(request, slug)[source]

Open Proofs pdf.

production.views.production_event_attachment_pdf(request, stream_id, attachment_id)[source]

Open ProductionEventAttachment pdf.

production.views.author_decision(request, slug)[source]

The authors of a Submission/Proof are asked for their decision on the proof. Accept or Decline? This will be asked if proof status is ACCEPTED_SUP and will be handled in this view.

production.views.toggle_accessibility(request, stream_id, version)[source]

Open/close accessibility of proofs to the authors.

production.views.decision(request, stream_id, version, decision)[source]

Send/open proofs to the authors. This decision is taken by the supervisor.

production.views.send_proofs(request, stream_id, version)[source]

Send/open proofs to the authors.