19282 intcomma

Fix to ticket #19282 https://code.djangoproject.com/ticket/19282