SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 90f773eb authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Reput clarity as field in report

parent e1dab058
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
...@@ -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")
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment