import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test2.settings")

# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)

import os

from django.core.wsgi import get_wsgi_application


os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test2.settings")

application = get_wsgi_application()

Fix an occurrence of E402
Fix an occurrence of E402

  import os
+ 
+ from django.core.wsgi import get_wsgi_application
+ 
  
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test2.settings")
  
- # This application object is used by any WSGI server configured to use this
- # file. This includes Django's development server, if the WSGI_APPLICATION
- # setting points here.
- from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
- # Apply WSGI middleware here.
- # from helloworld.wsgi import HelloWorldApplication
- # application = HelloWorldApplication(application)
- 
Fix an occurrence of E402
## Code Before:
import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test2.settings")

# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)

## Instruction:
Fix an occurrence of E402
## Code After:
import os

from django.core.wsgi import get_wsgi_application


os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test2.settings")

application = get_wsgi_application()
