Fixed #18460 -- Override method _has_changed

Fix for https://code.djangoproject.com/ticket/18460