Fixed #20189 - Define default ignore patterns in settings.

Updated patch,

see https://code.djangoproject.com/ticket/20189