min_num patched in django

https://code.djangoproject.com/ticket/17642