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

Refs #23395.
Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.