9 RefreshToken,
10)
11from dj_rest_auth.views import PasswordResetView, PasswordResetConfirmView
12from django.http import HttpResponse13import rollbar
14
15
Imports for the same package are scattered and not grouped together. It is recommended to keep the imports from the same package together. It makes the code easier to read.
Not preferred:
import os
import sys
from os import listdir
import time
from os.path import isfile, join
Preferred:
import os
from os import listdir
from os.path import isfile, join
import sys
import time