I have a lot of import statements in my views.py.
Does it help in terms of performance if instead putting all of the imports at the beginning of the file I put the imports in the views exactly where they are needed?
Having them in the particular view where they are needed helps also if you for example have to remove a view you don't have to scroll up and remove the unneeded imports.