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.
-
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.
-
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.
-
dispatch
(request, *args, **kwargs)¶
-
-
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.
production_event_attachment_pdf
(request, stream_id, attachment_id)[source]¶ Open ProductionEventAttachment pdf.
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.