journals.mixins module¶
-
class
journals.mixins.
PublicationMixin
[source]¶ Bases:
object
-
model
¶
-
slug_field
= 'doi_label'¶
-
slug_url_kwarg
= 'doi_label'¶
-
-
class
journals.mixins.
ProdSupervisorPublicationPermissionMixin
[source]¶ Bases:
scipost.mixins.PermissionsMixin
This will give permission to Production Supervisors if Publication is in_draft. If Publication is not in draft, it will only give permission to administrators.
-
permission_required
= 'scipost.can_draft_publication'¶
-