old_contents: # ------------------------------------------------------------------------
  # coding=utf-8
  # $Id$
  # ------------------------------------------------------------------------
  
  import django
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
  from os.path import join
  
  # Whether Django 1.0 compatibilty mode should be active or not
  DJANGO10_COMPAT = django.VERSION[0] < 1 or (django.VERSION[0] == 1 and django.VERSION[1] < 1)
  
  # ------------------------------------------------------------------------
  # Settings for MediaLibrary
  
  # Local path to uploaded media files
  FEINCMS_MEDIALIBRARY_ROOT = getattr(settings, 'FEINCMS_MEDIALIBRARY_ROOT', settings.MEDIA_ROOT)
  # Local path to newly uploaded media files
  FEINCMS_MEDIALIBRARY_UPLOAD_TO = getattr(settings, 'FEINCMS_MEDIALIBRARY_UPLOAD_TO', 'medialibrary/%Y/%m/')
  # URL to access media library files
  FEINCMS_MEDIALIBRARY_URL = getattr(settings, 'FEINCMS_MEDIALIBRARY_URL', settings.MEDIA_URL)
  
  # ------------------------------------------------------------------------
  # Settings for RichText
  
  TINYMCE_JS_URL = getattr(settings, 'TINYMCE_JS_URL', join(settings.MEDIA_URL, 'js/tiny_mce/tiny_mce.js'))
  # ------------------------------------------------------------------------
  # Admin settings
  
  FEINCMS_ADMIN_MEDIA = getattr(settings, 'FEINCMS_ADMIN_MEDIA', '/media/sys/feincms/')
  # Link to google APIs instead of using local copy of JS libraries
  FEINCMS_ADMIN_MEDIA_HOTLINKING = getattr(settings, 'FEINCMS_ADMIN_MEDIA_HOTLINKING', False)
  
  # ------------------------------------------------------------------------
  # Infanta settings
  
  INFANTA_EXCLUDE_URLS = getattr(settings, 'INFANTA_EXCLUDE_URLS', ['/admin/', '/media/'])
  
  # ------------------------------------------------------------------------
  # Settings for the page module
  
  # Use SplitPaneEditor instead of TreeEditor in the page administration
  FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR = getattr(settings, 'FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR', False)
  # Use the standard Django ChangeList instead
  FEINCMS_PAGE_USE_CHANGE_LIST = getattr(settings, 'FEINCMS_PAGE_USE_CHANGE_LIST', False)
  
new_contents: # ------------------------------------------------------------------------
  # coding=utf-8
  # $Id$
  # ------------------------------------------------------------------------
  
  import django
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
  from os.path import join
  
  # Whether Django 1.0 compatibilty mode should be active or not
  DJANGO10_COMPAT = django.VERSION[0] < 1 or (django.VERSION[0] == 1 and django.VERSION[1] < 1)
  
  # ------------------------------------------------------------------------
  # Settings for MediaLibrary
  
  # Local path to uploaded media files
  FEINCMS_MEDIALIBRARY_ROOT = getattr(settings, 'FEINCMS_MEDIALIBRARY_ROOT', settings.MEDIA_ROOT)
  # Local path to newly uploaded media files
  FEINCMS_MEDIALIBRARY_UPLOAD_TO = getattr(settings, 'FEINCMS_MEDIALIBRARY_UPLOAD_TO', 'medialibrary/%Y/%m/')
  # URL to access media library files
  FEINCMS_MEDIALIBRARY_URL = getattr(settings, 'FEINCMS_MEDIALIBRARY_URL', settings.MEDIA_URL)
  
  # ------------------------------------------------------------------------
  # Settings for RichText
  
  TINYMCE_JS_URL = getattr(settings, 'TINYMCE_JS_URL', join(settings.MEDIA_URL, 'js/tiny_mce/tiny_mce.js'))
  # ------------------------------------------------------------------------
  # Admin settings
  
  FEINCMS_ADMIN_MEDIA = getattr(settings, 'FEINCMS_ADMIN_MEDIA', '/media/sys/feincms/')
  # Link to google APIs instead of using local copy of JS libraries
  FEINCMS_ADMIN_MEDIA_HOTLINKING = getattr(settings, 'FEINCMS_ADMIN_MEDIA_HOTLINKING', False)
  
  # ------------------------------------------------------------------------
  # Infanta settings
  
  INFANTA_EXCLUDE_URLS = getattr(settings, 'INFANTA_EXCLUDE_URLS', ['/admin/', '/media/'])
  
  # ------------------------------------------------------------------------
  # Settings for the page module
  
  # Use SplitPaneEditor instead of TreeEditor in the page administration
  FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR = getattr(settings, 'FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR', False)
  # Use the standard Django ChangeList instead
  FEINCMS_PAGE_USE_CHANGE_LIST = getattr(settings, 'FEINCMS_PAGE_USE_CHANGE_LIST', False)
  
  if FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR and FEINCMS_PAGE_USE_CHANGE_LIST:
      raise ImproperlyConfigured('Please use only one of FEINCMS_PAGE_USE_SPLIT_PANE_EDITOR and FEINCMS_PAGE_USE_CHANGE_LIST')
  
  # ------------------------------------------------------------------------
  # ------------------------------------------------------------------------
  
subject: Check whether two conflicting PageAdmin versions are selected.