submissions.admin module¶
-
class
submissions.admin.
PreprintServerAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
autocomplete_fields
= ['acad_fields']¶
-
property
media
¶
-
-
class
submissions.admin.
iThenticateReportAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
list_display
= ['doc_id', 'to_submission', 'status']¶
-
list_filter
= ['status']¶
-
search_fields
= ['doc_id']¶
-
property
media
¶
-
-
class
submissions.admin.
SubmissionTieringInline
(parent_model, admin_site)[source]¶ Bases:
django.contrib.admin.options.StackedInline
-
model
¶
-
extra
= 0¶
-
min_num
= 0¶
-
autocomplete_fields
= ['submission', 'fellow', 'for_journal']¶
-
property
media
¶
-
-
class
submissions.admin.
SubmissionAdmin
(model, admin_site)[source]¶ Bases:
guardian.admin.GuardedModelAdmin
-
date_hierarchy
= 'submission_date'¶
-
list_display
= ('title', 'author_list', 'preprint', 'submitted_to', 'status', 'visible_public', 'visible_pool', 'refereeing_cycle', 'submission_date', 'publication')¶
-
list_filter
= ('status', 'acad_field', 'specialties', 'submitted_to')¶
-
search_fields
= ['submitted_by__user__last_name', 'title', 'author_list', 'abstract']¶
-
autocomplete_fields
= ['acad_field', 'specialties', 'preprint', 'editor_in_charge', 'is_resubmission_of', 'fellows', 'submitted_by', 'submitted_to', 'proceedings', 'authors', 'authors_claims', 'authors_false_claims', 'plagiarism_report', 'topics']¶
-
readonly_fields
= ('publication',)¶
-
inlines
= [<class 'submissions.admin.SubmissionTieringInline'>]¶
-
radio_fields
= {'acad_field': 2, 'refereeing_cycle': 1, 'submitted_to': 2}¶
-
fieldsets
= ((None, {'fields': ('preprint', 'publication', 'title', 'abstract')}), ('Versioning', {'fields': ('thread_hash', 'is_current', 'is_resubmission_of', 'list_of_changes')}), ('Submission details', {'classes': ('collapse',), 'fields': ('code_repository_url', 'data_repository_url', 'author_comments', 'acad_field', 'specialties', 'approaches', 'proceedings')}), ('Authors', {'classes': ('collapse',), 'fields': ('submitted_by', 'author_list', 'authors', 'authors_claims', 'authors_false_claims')}), ('Refereeing', {'classes': ('collapse',), 'fields': ('editor_in_charge', 'status', ('visible_public', 'visible_pool'), 'refereeing_cycle', ('open_for_commenting', 'open_for_reporting'), 'reporting_deadline', 'acceptance_date', 'referees_flagged', 'referees_suggested', 'remarks_for_editors', 'submitted_to', 'pdf_refereeing_pack', 'plagiarism_report', 'fellows')}), ('Meta', {'classes': ('collapse',), 'fields': ('metadata', 'submission_date', 'needs_conflicts_update')}))¶
-
property
media
¶
-
-
class
submissions.admin.
EditorialAssignmentAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['submission__title', 'submission__author_list', 'submission__preprint__identifier_w_vn_nr', 'to__user__last_name']¶
-
list_display
= ('to', <function submission_short_title>, 'status', 'date_created', 'date_invited', 'invitation_order')¶
-
date_hierarchy
= 'date_created'¶
-
list_filter
= ('status',)¶
-
autocomplete_fields
= ['submission', 'to']¶
-
property
media
¶
-
-
class
submissions.admin.
RefereeInvitationAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['submission__title', 'submission__author_list', 'submission__preprint__identifier_w_vn_nr', 'referee__user__last_name', 'first_name', 'last_name', 'email_address']¶
-
list_display
= ('__str__', 'accepted', 'fulfilled', 'cancelled')¶
-
list_filter
= ('accepted', 'fulfilled', 'cancelled')¶
-
date_hierarchy
= 'date_invited'¶
-
autocomplete_fields
= ['profile', 'submission', 'referee', 'invited_by']¶
-
property
media
¶
-
-
class
submissions.admin.
ReportAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['author__user__last_name', 'submission__title']¶
-
list_display
= ('author', 'status', 'doi_label', <function submission_short_title>, 'date_submitted')¶
-
list_display_links
= ('author',)¶
-
date_hierarchy
= 'date_submitted'¶
-
list_filter
= ('status',)¶
-
readonly_fields
= ('report_nr',)¶
-
autocomplete_fields
= ['submission', 'vetted_by', 'author']¶
-
property
media
¶
-
-
class
submissions.admin.
EditorialCommunicationAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['submission__title', 'referee__user__last_name', 'text']¶
-
autocomplete_fields
= ['submission', 'referee']¶
-
property
media
¶
-
-
class
submissions.admin.
AlternativeRecommendationInline
(parent_model, admin_site)[source]¶ Bases:
django.contrib.admin.options.StackedInline
-
model
¶ alias of
submissions.models.recommendation.AlternativeRecommendation
-
extra
= 0¶
-
min_num
= 0¶
-
autocomplete_fields
= ['fellow', 'for_journal']¶
-
property
media
¶
-
-
class
submissions.admin.
EICRecommendationAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['submission__title']¶
-
list_filter
= ('status',)¶
-
list_display
= (<function submission_short_title>, <function submission_short_authors>, 'for_journal', 'recommendation', 'status', 'active', 'version')¶
-
inlines
= [<class 'submissions.admin.AlternativeRecommendationInline'>]¶
-
autocomplete_fields
= ['submission', 'eligible_to_vote', 'voted_for', 'voted_against', 'voted_abstain']¶
-
property
media
¶
-
-
class
submissions.admin.
EditorialDecisionAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['submission__title', 'submission__author_list', 'submission__preprint__identifier_w_vn_nr']¶
-
list_filter
= ['for_journal', 'decision', 'status']¶
-
list_display
= [<function submission_short_title>, 'for_journal', 'decision', 'taken_on', 'status', 'version']¶
-
autocomplete_fields
= ['submission', 'for_journal']¶
-
property
media
¶
-