text: import os
  import sys
  
  PROJECT_DIR = os.path.dirname(__file__)
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
      }
  }
  
  ROOT_URLCONF = 'database_files.urls'
  
  INSTALLED_APPS = [
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'database_files',
      'database_files.tests',
  ]
  
  DEFAULT_FILE_STORAGE = 'database_files.storage.DatabaseStorage'
  
  MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media')
  
  
  # Disable migrations.
  # http://stackoverflow.com/a/28560805/247542
  class DisableMigrations:
  
      def __contains__(self, item):
          return True
  
      def __getitem__(self, item):
          return "notmigrations"
  
  
  USE_TZ = True
  
  SECRET_KEY = 'secret'
  
  AUTH_USER_MODEL = 'auth.User'
  
  SITE_ID = 1
  
  BASE_SECURE_URL = 'https://localhost'
  
  BASE_URL = 'http://localhost'
  
  MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      #'django.middleware.transaction.TransactionMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.locale.LocaleMiddleware',
  )
  