SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
90f773eb
Commit
90f773eb
authored
9 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Reput clarity as field in report
parent
e1dab058
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
submissions/forms.py
+1
-2
1 addition, 2 deletions
submissions/forms.py
submissions/models.py
+1
-0
1 addition, 0 deletions
submissions/models.py
with
2 additions
and
2 deletions
submissions/forms.py
+
1
−
2
View file @
90f773eb
...
@@ -44,8 +44,7 @@ class ReportForm(forms.ModelForm):
...
@@ -44,8 +44,7 @@ class ReportForm(forms.ModelForm):
class
Meta
:
class
Meta
:
model
=
Report
model
=
Report
fields
=
[
'
qualification
'
,
'
strengths
'
,
'
weaknesses
'
,
'
report
'
,
'
requested_changes
'
,
fields
=
[
'
qualification
'
,
'
strengths
'
,
'
weaknesses
'
,
'
report
'
,
'
requested_changes
'
,
#'validity', 'significance', 'originality', 'clarity', 'formatting', 'grammar',
'
validity
'
,
'
significance
'
,
'
originality
'
,
'
clarity
'
,
'
formatting
'
,
'
grammar
'
,
'
validity
'
,
'
significance
'
,
'
originality
'
,
'
formatting
'
,
'
grammar
'
,
'
recommendation
'
]
'
recommendation
'
]
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
(
ReportForm
,
self
).
__init__
(
*
args
,
**
kwargs
)
super
(
ReportForm
,
self
).
__init__
(
*
args
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
submissions/models.py
+
1
−
0
View file @
90f773eb
...
@@ -137,6 +137,7 @@ class Report(models.Model):
...
@@ -137,6 +137,7 @@ class Report(models.Model):
validity
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
validity
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
significance
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
significance
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
originality
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
originality
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
clarity
=
models
.
PositiveSmallIntegerField
(
choices
=
RANKING_CHOICES
,
default
=
101
)
formatting
=
models
.
SmallIntegerField
(
choices
=
QUALITY_SPEC
,
blank
=
True
,
verbose_name
=
"
Quality of paper formatting
"
)
formatting
=
models
.
SmallIntegerField
(
choices
=
QUALITY_SPEC
,
blank
=
True
,
verbose_name
=
"
Quality of paper formatting
"
)
grammar
=
models
.
SmallIntegerField
(
choices
=
QUALITY_SPEC
,
blank
=
True
,
verbose_name
=
"
Quality of English grammar
"
)
grammar
=
models
.
SmallIntegerField
(
choices
=
QUALITY_SPEC
,
blank
=
True
,
verbose_name
=
"
Quality of English grammar
"
)
#
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment