text: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  import os
  import logging
  from django.apps import AppConfig
  from django.conf import settings
  from django.utils.translation import ugettext_lazy as _
  
  
  class TodosConfig(AppConfig):
      name = 'todos'
      verbose_name = _("EDW Todo Sample")
      logger = logging.getLogger('todos')
              
      def ready(self):
          if not os.path.isdir(settings.STATIC_ROOT):
              os.makedirs(settings.STATIC_ROOT)
          if not os.path.isdir(settings.MEDIA_ROOT):
              os.makedirs(settings.MEDIA_ROOT)