Changeset b61cf1a for remit


Ignore:
Timestamp:
Jul 7, 2014, 10:05:29 PM (11 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master
Children:
80d8926
Parents:
7ee21d8
git-author:
Alex Dehnert <adehnert@…> (07/07/14 22:05:29)
git-committer:
Alex Dehnert <adehnert@…> (07/07/14 22:05:29)
Message:

Django 1.6: explicitly specific BooleanField?'s default value

Django 1.6 changed the default value from False to None -- see
https://docs.djangoproject.com/en/1.6/ref/models/fields/#booleanfield.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/vouchers/models.py

    r7ee21d8 rb61cf1a  
    178178    description = models.TextField()
    179179    gl = models.IntegerField()
    180     processed = models.BooleanField()
     180    processed = models.BooleanField(default=False)
    181181    process_time = models.DateTimeField(blank=True, null=True,)
    182182    documentation = models.ForeignKey('Documentation', blank=True, null=True, )
Note: See TracChangeset for help on using the changeset viewer.