18F / projects

[WIP] A collection of our projects, past and present
Other
9 stars 3 forks source link

Make Project.billable a boolean #37

Closed toolness closed 8 years ago

toolness commented 8 years ago

As mentioned here:

This is unintuitive to me--is there a reason we didn't make billable a boolean field? And even if it has to be a choice field, it's a bit unintuitive that billable is 0 and non-billable is 1. This means that the following code:

if project.billable:

will actually be checking if the project is NOT billable... :confounded:

This will require a schema migration and a data migration, I think.