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

Refs #23395.

https://code.djangoproject.com/ticket/23395
think this could be split at a different place for better readability