Limited lines to 119 characters in django/{contrib,db}.

Refs #23395.

https://code.djangoproject.com/ticket/23395
Thanks!