Modify widgets.py to conditionally define _has_changed method depending on Django<=1.6.