old_contents: #!/usr/bin/env python
  import sys
  import django
  from django.conf import settings, global_settings as default_settings
  from django.core.management import execute_from_command_line
  
  if not settings.configured:
      settings.configure(
          DATABASES = {
              'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:',},
          },
          SITE_ID = 1,
          TEMPLATE_LOADERS = (
              'django.template.loaders.app_directories.Loader',
          ),
          TEMPLATE_CONTEXT_PROCESSORS = list(default_settings.TEMPLATE_CONTEXT_PROCESSORS) + [
              'django.core.context_processors.request',
          ],
          INSTALLED_APPS = (
              'django.contrib.contenttypes',
              'django.contrib.auth',
              'django.contrib.sites',
              'django.contrib.admin',
              'django.contrib.messages',
              'crispy_forms',
              'fluent_contents',
              'fluent_contents.tests.testapp',
              'fluentcms_contactform',
          ),
          MIDDLEWARE_CLASSES = (),
          FLUENT_CONTENTS_CACHE_OUTPUT = False,
          TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner' if django.VERSION < (1,6) else 'django.test.runner.DiscoverRunner',
          ROOT_URLCONF = 'fluentcms_contactform.tests.urls',
          STATIC_URL = '/static/'
      )
  
  DEFAULT_TEST_APPS = [
      'fluentcms_contactform',
  ]
  
  
  def runtests():
      other_args = list(filter(lambda arg: arg.startswith('-'), sys.argv[1:]))
      test_apps = list(filter(lambda arg: not arg.startswith('-'), sys.argv[1:])) or DEFAULT_TEST_APPS
      argv = sys.argv[:1] + ['test', '--traceback'] + other_args + test_apps
      execute_from_command_line(argv)
  
  if __name__ == '__main__':
      runtests()
  
new_contents: #!/usr/bin/env python
  import sys
  import django
  from django.conf import settings, global_settings as default_settings
  from django.core.management import execute_from_command_line
  
  if not settings.configured:
      settings.configure(
          DATABASES = {
              'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:',},
          },
          SITE_ID = 1,
          TEMPLATE_LOADERS = (
              'django.template.loaders.app_directories.Loader',
          ),
          TEMPLATE_CONTEXT_PROCESSORS = list(default_settings.TEMPLATE_CONTEXT_PROCESSORS) + [
              'django.core.context_processors.request',
          ],
          INSTALLED_APPS = (
              'django.contrib.contenttypes',
              'django.contrib.auth',
              'django.contrib.sites',
              'django.contrib.admin',
              'django.contrib.messages',
              'crispy_forms',
              'fluent_contents',
              'fluent_contents.tests.testapp',
              'fluentcms_contactform',
          ),
          MIDDLEWARE_CLASSES = (),
          FLUENT_CONTENTS_CACHE_OUTPUT = False,
          TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner' if django.VERSION < (1,6) else 'django.test.runner.DiscoverRunner',
          ROOT_URLCONF = 'fluentcms_contactform.tests.urls',
          CRISPY_TEMPLATE_PACK = 'bootstrap3',
          STATIC_URL = '/static/'
      )
  
  DEFAULT_TEST_APPS = [
      'fluentcms_contactform',
  ]
  
  
  def runtests():
      other_args = list(filter(lambda arg: arg.startswith('-'), sys.argv[1:]))
      test_apps = list(filter(lambda arg: not arg.startswith('-'), sys.argv[1:])) or DEFAULT_TEST_APPS
      argv = sys.argv[:1] + ['test', '--traceback'] + other_args + test_apps
      execute_from_command_line(argv)
  
  if __name__ == '__main__':
      runtests()
  
subject: use bootstrap 3