django/django — pull request #1466 by alasdairnicol (2013-08-11 22:16:20+00:00)
Title: Fixed #20895 -- Made check management command warn if a BooleanField doe...

...s not have a default value

Thanks to Collin Anderson for the suggestion.

This is my first code patch for Django, so any feedback is welcome, I'm happy to make any changes that are required.

In particular, I wasn't sure whether monkey patching the field default was the best approach, but I couldn't see the best way to check the model in one particular test but not the others.

If the pull request is accepted, is it possible to backport to 1.6.X. I think the check would help users when upgrading from 1.5. However, I don't know if the feature freeze prevents this from happening.