Skip to content

Commit

Permalink
• Improvement: New survey has the value True as default for the fiel…
Browse files Browse the repository at this point in the history
…d boolean is_initial_evaluation, because this functionality is useful only for creating new initial evaluations.
  • Loading branch information
diogopedrosa committed Aug 5, 2015
1 parent f0edbd0 commit c2a8096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patientregistrationsystem/qdc/survey/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Survey(models.Model):
lime_survey_id = models.IntegerField(null=False, blank=False, unique=True)
is_initial_evaluation = models.BooleanField(null=False, blank=False, default=False)
is_initial_evaluation = models.BooleanField(null=False, blank=False, default=True)

class Meta:
permissions = (
Expand Down

0 comments on commit c2a8096

Please sign in to comment.