from django.apps import AppConfig as BaseAppConfig
from django.utils.importlib import import_module


class AppConfig(BaseAppConfig):

    name = "conf_site"

    def ready(self):
        import_module("conf_site.receivers")

from importlib import import_module

from django.apps import AppConfig as BaseAppConfig


class AppConfig(BaseAppConfig):

    name = "conf_site"

    def ready(self):
        import_module("conf_site.receivers")

Remove Django importlib in favor of stdlib.
Remove Django importlib in favor of stdlib.

Django's copy of importlib was deprecated in 1.7 and therefore removed
in Django 1.9:
https://docs.djangoproject.com/en/1.10/releases/1.7/#django-utils-dictconfig-django-utils-importlib

This is okay, since we are using Python 2.7 and can rely on the copy in
the standard library.

+ from importlib import import_module
+ 
  from django.apps import AppConfig as BaseAppConfig
- from django.utils.importlib import import_module
  
  
  class AppConfig(BaseAppConfig):
  
      name = "conf_site"
  
      def ready(self):
          import_module("conf_site.receivers")
  
Remove Django importlib in favor of stdlib.
## Code Before:
from django.apps import AppConfig as BaseAppConfig
from django.utils.importlib import import_module


class AppConfig(BaseAppConfig):

    name = "conf_site"

    def ready(self):
        import_module("conf_site.receivers")

## Instruction:
Remove Django importlib in favor of stdlib.
## Code After:
from importlib import import_module

from django.apps import AppConfig as BaseAppConfig


class AppConfig(BaseAppConfig):

    name = "conf_site"

    def ready(self):
        import_module("conf_site.receivers")
