Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

1506722720-127

Closed Dwi Nanda Susanto requested to merge pmpl/class-project/kape:1506722720-127 into master

merge to master, new attribute dependants on accounts model

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
17 17 updated = models.DateTimeField(auto_now=True)
18 18 name = models.CharField(max_length=100, null=False)
19 19 amount = models.IntegerField(null=True)
20 max_accepted_applicants = models.IntegerField()
20 max_accepted_applicants = models.IntegerField(default=0)
  • someone wrote this field without any default values, it keeps return error when i tried to run the test because of this. so i added a reasonable default value for this field. LGTM

  • Please register or sign in to reply
Please register or sign in to reply
Loading