Skip to content

Commit

Permalink
set boolean field to default false
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunath24 committed Jun 13, 2014
1 parent ed8c9a8 commit 9ebd1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leave_tracker/models.py
Expand Up @@ -59,7 +59,7 @@ class LeaveApplication(models.Model):
num_of_days = models.IntegerField()
usr = models.ForeignKey(UserProfile)
leave_category = models.ForeignKey("LeaveCategory")
status = models.BooleanField()
status = models.BooleanField(default=False)
subject = models.TextField()

def __unicode__(self):
Expand Down

0 comments on commit 9ebd1a7

Please sign in to comment.