Fixed #25384 -- Ordered imports in newly created migration files
Fixed #25384 -- Ordered imports in newly created migration files

Partial forwardport of 3cc5cc79584b66dafac54264d072ac1206426471 from
stable/1.8.x as the issue was already fixed in master in
a7bc00e17bebe34cdf23f744937b3c386ee73d81

solarissmoke/django,bak1an/django,monetate/django,ABaldwinHunter/django-clone-classic,hkchenhongyi/django,cainmatt/django,gchp/django,sadaf2605/django,areski/django,MounirMesselmeni/django,GhostThrone/django,rapilabs/django,rsalmaso/django,kosz85/django,unaizalakain/django,guettli/django,andresgz/django,carljm/django,github-account-because-they-want-it/django,bikong2/django,wsmith323/django,ABaldwinHunter/django-clone,darkryder/django,denys-duchier/django,MikeAmy/django,dydek/django,twz915/django,synasius/django,dfunckt/django,jaywreddy/django,dbaxa/django,dgladkov/django,robhudson/django,sadaf2605/django,felixxm/django,mattseymour/django,eyohansa/django,edmorley/django,rrrene/django,fenginx/django,elkingtonmcb/django,googleinterns/django,Matt-Deacalion/django,1013553207/django,treyhunner/django,kosz85/django,ajoaoff/django,yakky/django,MikeAmy/django,rajsadho/django,andresgz/django,jarshwah/django,sergei-maertens/django,intgr/django,indevgr/django,camilonova/django,carljm/django,himleyb85/django,jaywreddy/django,felixxm/django,craynot/django,anant-dev/django,haxoza/django,knifenomad/django,SebasSBM/django,sergei-maertens/django,hobarrera/django,reinout/django,tbeadle/django,alilotfi/django,SoftwareMaven/django,AltSchool/django,webgeodatavore/django,mrbox/django,yewang15215/django,abomyi/django,karyon/django,mcrowson/django,dydek/django,sgzsh269/django,gchp/django,ecederstrand/django,syphar/django,elena/django,krisys/django,tysonclugg/django,SujaySKumar/django,manhhomienbienthuy/django,frishberg/django,synasius/django,tbeadle/django,HousekeepLtd/django,EliotBerriot/django,timgraham/django,follow99/django,haxoza/django,shacker/django,schinckel/django,mojeto/django,Nepherhotep/django,Balachan27/django,koniiiik/django,ebar0n/django,andreif/django,frankvdp/django,alexmorozov/django,wkschwartz/django,crazy-canux/django,kaedroho/django,hkchenhongyi/django,MoritzS/django,webgeodatavore/django,raphaelmerx/django,django/django,raphaelmerx/django,Endika/django,petecummings/django,peterlauri/django,vmarkovtsev/django,pauloxnet/django,monetate/django,davgibbs/django,henryfjordan/django,rizumu/django,karyon/django,YangSongzhou/django,mojeto/django,kutenai/django,craynot/django,petecummings/django,extremewaysback/django,daniponi/django,matiasb/django,andela-ifageyinbo/django,felixxm/django,fenginx/django,dsanders11/django,koordinates/django,blighj/django,dursk/django,1013553207/django,mcella/django,reinout/django,github-account-because-they-want-it/django,alilotfi/django,kaedroho/django,django/django,blighj/django,ABaldwinHunter/django-clone-classic,AltSchool/django,ABaldwinHunter/django-clone,zerc/django,dwightgunning/django,gchp/django,gunchleoc/django,rmboggs/django,crazy-canux/django,jylaxp/django,MarcJoan/django,SujaySKumar/django,sarthakmeh03/django,zhaodelong/django,ironbox360/django,elkingtonmcb/django,dfunckt/django,rmboggs/django,elky/django,areski/django,petecummings/django,payeldillip/django,shacker/django,asser/django,sadaf2605/django,ghedsouza/django,alimony/django,kutenai/django,shacker/django,dpetzold/django,sarvex/django,MarkusH/django,JavML/django,jscn/django,TimYi/django,aisipos/django,github-account-because-they-want-it/django,ABaldwinHunter/django-clone-classic,JavML/django,poiati/django,GhostThrone/django,benjaminjkraft/django,tcwicklund/django,ghickman/django,hobarrera/django,frePPLe/django,denys-duchier/django,koordinates/django,rapilabs/django,MounirMesselmeni/django,davgibbs/django,hkchenhongyi/django,davidharrigan/django,davgibbs/django,jarshwah/django,sgzsh269/django,elena/django,abomyi/django,pauloxnet/django,twz915/django,synasius/django,donkirkby/django,rsalmaso/django,rajsadho/django,extremewaysback/django,dpetzold/django,whs/django,uranusjr/django,WillGuan105/django,bak1an/django,jaywreddy/django,BlindHunter/django,wsmith323/django,simonw/django,apollo13/django,rizumu/django,davidharrigan/django,lwiecek/django,ar45/django,techdragon/django,gitaarik/django,dfunckt/django,piquadrat/django,rhertzog/django,ifduyue/django,googleinterns/django,dwightgunning/django,kamyu104/django,sopier/django,frdb194/django,arun6582/django,HousekeepLtd/django,shaib/django,craynot/django,jarshwah/django,ABaldwinHunter/django-clone,varunnaganathan/django,ironbox360/django,marissazhou/django,donkirkby/django,tysonclugg/django,labcodes/django,arun6582/django,github-account-because-they-want-it/django,googleinterns/django,mathspace/django,henryfjordan/django,eyohansa/django,SebasSBM/django,felixxm/django,frankvdp/django,jylaxp/django,jarshwah/django,zsiciarz/django,AltSchool/django,jsoref/django,daniponi/django,cainmatt/django,dracos/django,manhhomienbienthuy/django,indevgr/django,mattseymour/django,himleyb85/django,taaviteska/django,fafaman/django,mcrowson/django,mlavin/django,mathspace/django,blueyed/django,whs/django,YangSongzhou/django,loic/django,takis/django,rhertzog/django,rmboggs/django,mcella/django,rhertzog/django,piquadrat/django,hynekcer/django,ironbox360/django,andreif/django,GhostThrone/django,yakky/django,davidharrigan/django,frankvdp/django,TimYi/django,theo-l/django,gunchleoc/django,ABaldwinHunter/django-clone-classic,sergei-maertens/django,fpy171/django,mcella/django,whs/django,auvipy/django,mathspace/django,varunnaganathan/django,reinout/django,dfdx2/django,blindroot/django,yewang15215/django,claudep/django,1013553207/django,fpy171/django,aisipos/django,knifenomad/django,Leila20/django,avneesh91/django,nemesisdesign/django,mitya57/django,blindroot/django,avneesh91/django,taaviteska/django,syphar/django,vincepandolfo/django,mlavin/django,atul-bhouraskar/django,koniiiik/django,BlindHunter/django,mjtamlyn/django,etos/django,blighj/django,frishberg/django,rrrene/django,anant-dev/django,vmarkovtsev/django,pauloxnet/django,MatthewWilkes/django,himleyb85/django,jscn/django,tysonclugg/django,dydek/django,mathspace/django,MoritzS/django,unaizalakain/django,asser/django,uranusjr/django,edmorley/django,aidanlister/django,filias/django,gitaarik/django,adamchainz/django,andresgz/django,WillGuan105/django,krisys/django,JavML/django,Beauhurst/django,zsiciarz/django,kutenai/django,EmadMokhtar/Django,charettes/django,dsanders11/django,tbeadle/django,Beauhurst/django,anant-dev/django,crazy-canux/django,ajoaoff/django,shaib/django,sarthakmeh03/django,MatthewWilkes/django,rsalmaso/django,Nepherhotep/django,auready/django,frdb194/django,rapilabs/django,donkirkby/django,lwiecek/django,bikong2/django,ironbox360/django,dfdx2/django,indevgr/django,EmadMokhtar/Django,darjeeling/django,extremewaysback/django,elky/django,kholidfu/django,sjlehtin/django,zerc/django,baylee/django,frankvdp/django,rynomster/django,schinckel/django,dbaxa/django,uranusjr/django,Nepherhotep/django,robhudson/django,dfdx2/django,sjlehtin/django,rajsadho/django,EmadMokhtar/Django,hynekcer/django,Leila20/django,oberlin/django,mjtamlyn/django,uranusjr/django,aidanlister/django,ghedsouza/django,DasIch/django,asser/django,tcwicklund/django,fafaman/django,mattseymour/django,fpy171/django,carljm/django,techdragon/django,krisys/django,darjeeling/django,andreif/django,guettli/django,techdragon/django,camilonova/django,mcrowson/django,mcella/django,intgr/django,frdb194/django,atul-bhouraskar/django,himleyb85/django,akintoey/django,AltSchool/django,syaiful6/django,sarvex/django,adamchainz/django,dgladkov/django,marissazhou/django,aidanlister/django,auready/django,HousekeepLtd/django,tcwicklund/django,MarkusH/django,areski/django,rhertzog/django,ecederstrand/django,kosz85/django,zerc/django,ar45/django,atul-bhouraskar/django,dwightgunning/django,nealtodd/django,jscn/django,MatthewWilkes/django,marckuz/django,davgibbs/django,knifenomad/django,sjlehtin/django,alexallah/django,willhardy/django,nealtodd/django,alimony/django,yewang15215/django,Nepherhotep/django,fenginx/django,DasIch/django,abomyi/django,tomchristie/django,alexallah/django,blindroot/django,akintoey/django,mjtamlyn/django,gchp/django,denys-duchier/django,ebar0n/django,kamyu104/django,MatthewWilkes/django,crazy-canux/django,kamyu104/django,peterlauri/django,mrbox/django,poiati/django,Beauhurst/django,dudepare/django,nemesisdesign/django,elky/django,willhardy/django,neiudemo1/django,claudep/django,vmarkovtsev/django,dfdx2/django,poiati/django,sopier/django,ghedsouza/django,yask123/django,gitaarik/django,wkschwartz/django,savoirfairelinux/django,bobcyw/django,frishberg/django,etos/django,hynekcer/django,ajoaoff/django,etos/django,monetate/django,twz915/django,abomyi/django,rlugojr/django,elena/django,bobcyw/django,wkschwartz/django,MarkusH/django,oberlin/django,matiasb/django,adamchainz/django,etos/django,yakky/django,SujaySKumar/django,savoirfairelinux/django,rynomster/django,rsalmaso/django,koniiiik/django,alexmorozov/django,elkingtonmcb/django,ebar0n/django,stewartpark/django,Matt-Deacalion/django,harisibrahimkv/django,fafaman/django,peterlauri/django,andela-ifageyinbo/django,kamyu104/django,rynomster/django,charettes/django,fenginx/django,claudep/django,EliotBerriot/django,bikong2/django,tysonclugg/django,rrrene/django,claudep/django,YangSongzhou/django,evansd/django,tomchristie/django,schinckel/django,hynekcer/django,aidanlister/django,darjeeling/django,Endika/django,sarthakmeh03/django,zhaodelong/django,syphar/django,hottwaj/django,dbaxa/django,unaizalakain/django,Leila20/django,aisipos/django,Balachan27/django,varunnaganathan/django,yakky/django,sopier/django,syphar/django,dracos/django,cainmatt/django,loic/django,jpic/django,sjlehtin/django,SujaySKumar/django,dgladkov/django,kaedroho/django,rlugojr/django,freakboy3742/django,harisibrahimkv/django,lwiecek/django,dracos/django,Matt-Deacalion/django,ifduyue/django,bak1an/django,frishberg/django,evansd/django,mitya57/django,monetate/django,mattseymour/django,hobarrera/django,baylee/django,SoftwareMaven/django,ecederstrand/django,charettes/django,whs/django,ar45/django,JavML/django,henryfjordan/django,ghickman/django,harisibrahimkv/django,darjeeling/django,auvipy/django,wsmith323/django,moreati/django,rizumu/django,poiati/django,craynot/django,mojeto/django,yask123/django,krisys/django,vincepandolfo/django,loic/django,dbaxa/django,akintoey/django,hkchenhongyi/django,shaib/django,elena/django,piquadrat/django,avneesh91/django,django/django,gitaarik/django,GhostThrone/django,zsiciarz/django,daniponi/django,Beauhurst/django,syaiful6/django,nealtodd/django,dwightgunning/django,oberlin/django,jpic/django,Balachan27/django,googleinterns/django,hottwaj/django,harisibrahimkv/django,bobcyw/django,moreati/django,marckuz/django,rapilabs/django,alexallah/django,SoftwareMaven/django,unaizalakain/django,rynomster/django,lwiecek/django,dudepare/django,baylee/django,kutenai/django,synasius/django,phalt/django,MounirMesselmeni/django,WillGuan105/django,eyohansa/django,takis/django,darkryder/django,twz915/django,jsoref/django,tuhangdi/django,vincepandolfo/django,simonw/django,hottwaj/django,mrbox/django,schinckel/django,MarkusH/django,fafaman/django,EliotBerriot/django,charettes/django,edmorley/django,indevgr/django,ABaldwinHunter/django-clone,alexmorozov/django,ifduyue/django,filias/django,savoirfairelinux/django,zerc/django,benjaminjkraft/django,ifduyue/django,sadaf2605/django,solarissmoke/django,DasIch/django,bobcyw/django,WillGuan105/django,TimYi/django,rrrene/django,kosz85/django,wsmith323/django,dpetzold/django,loic/django,georgemarshall/django,treyhunner/django,frePPLe/django,alilotfi/django,dursk/django,jaywreddy/django,robhudson/django,EliotBerriot/django,dudepare/django,ecederstrand/django,arun6582/django,marckuz/django,MarcJoan/django,hobarrera/django,alimony/django,theo-l/django,mcrowson/django,jylaxp/django,ajoaoff/django,filias/django,guettli/django,stewartpark/django,apollo13/django,follow99/django,robhudson/django,mitya57/django,savoirfairelinux/django,yewang15215/django,vmarkovtsev/django,neiudemo1/django,alilotfi/django,fpy171/django,simonw/django,kholidfu/django,jpic/django,tuhangdi/django,kholidfu/django,theo-l/django,syaiful6/django,peterlauri/django,frePPLe/django,sopier/django,petecummings/django,evansd/django,erikr/django,auvipy/django,dsanders11/django,rmboggs/django,intgr/django,anant-dev/django,solarissmoke/django,atul-bhouraskar/django,georgemarshall/django,moreati/django,auvipy/django,takis/django,sarthakmeh03/django,darkryder/django,webgeodatavore/django,eyohansa/django,Balachan27/django,ebar0n/django,webgeodatavore/django,freakboy3742/django,zhaodelong/django,ghickman/django,sgzsh269/django,dsanders11/django,sarvex/django,aisipos/django,benjaminjkraft/django,blighj/django,treyhunner/django,mlavin/django,phalt/django,phalt/django,payeldillip/django,camilonova/django,timgraham/django,1013553207/django,blueyed/django,pauloxnet/django,georgemarshall/django,rizumu/django,sgzsh269/django,georgemarshall/django,arun6582/django,jsoref/django,andreif/django,taaviteska/django,erikr/django,timgraham/django,varunnaganathan/django,matiasb/django,rlugojr/django,elky/django,guettli/django,filias/django,haxoza/django,sergei-maertens/django,koniiiik/django,neiudemo1/django,jylaxp/django,piquadrat/django,evansd/django,tomchristie/django,cainmatt/django,blindroot/django,dracos/django,erikr/django,YangSongzhou/django,raphaelmerx/django,darkryder/django,labcodes/django,willhardy/django,baylee/django,raphaelmerx/django,jscn/django,follow99/django,kholidfu/django,yask123/django,treyhunner/django,mjtamlyn/django,nemesisdesign/django,shaib/django,DasIch/django,bak1an/django,BlindHunter/django,Endika/django,rlugojr/django,karyon/django,tcwicklund/django,zhaodelong/django,follow99/django,Leila20/django,akintoey/django,mojeto/django,alexmorozov/django,TimYi/django,daniponi/django,reinout/django,stewartpark/django,apollo13/django,MikeAmy/django,andresgz/django,andela-ifageyinbo/django,areski/django,bikong2/django,auready/django,tuhangdi/django,BlindHunter/django,camilonova/django,gunchleoc/django,dursk/django,adamchainz/django,extremewaysback/django,matiasb/django,sarvex/django,MarcJoan/django,edmorley/django,mitya57/django,payeldillip/django,MoritzS/django,dgladkov/django,tbeadle/django,koordinates/django,yask123/django,nealtodd/django,dursk/django,moreati/django,tuhangdi/django,marissazhou/django,zsiciarz/django,rajsadho/django,blueyed/django,HousekeepLtd/django,avneesh91/django,hottwaj/django,denys-duchier/django,jpic/django,MikeAmy/django,tomchristie/django,techdragon/django,labcodes/django,donkirkby/django,dydek/django,simonw/django,solarissmoke/django,vincepandolfo/django,willhardy/django,freakboy3742/django,django/django,mrbox/django,Endika/django,Matt-Deacalion/django,shacker/django,MounirMesselmeni/django,neiudemo1/django,labcodes/django,koordinates/django,SoftwareMaven/django,erikr/django,syaiful6/django,alimony/django,dudepare/django,payeldillip/django,alexallah/django,marckuz/django,blueyed/django,stewartpark/django,manhhomienbienthuy/django,phalt/django,carljm/django,benjaminjkraft/django,auready/django,MarcJoan/django,jsoref/django,apollo13/django,SebasSBM/django,MoritzS/django,ghickman/django,henryfjordan/django,taaviteska/django,nemesisdesign/django,oberlin/django,frePPLe/django,wkschwartz/django,gunchleoc/django,asser/django,frdb194/django,mlavin/django,intgr/django,knifenomad/django,davidharrigan/django,SebasSBM/django,dfunckt/django,karyon/django,ghedsouza/django,takis/django,timgraham/django,manhhomienbienthuy/django,marissazhou/django,andela-ifageyinbo/django,theo-l/django,haxoza/django,dpetzold/django,ar45/django,elkingtonmcb/django