'wagtail.wagtailredirects', 'wagtail.wagtailforms', 'wagtail.wagtailsites', 'wagtail.contrib.wagtailapi', # Needed for accounts OAuth2 Authentication 'accounts', 'social.apps.django_app.default', ) # Add wagtail.contrib.wagtailsearchpromotions to INSTALLED_APPS # if we're on Wagtail 1.1 or later. # NB this is a quick-and-dirty version check that won't work with # full generality (double-digit versions, alpha/beta releases) from wagtail.wagtailcore import __version__ if __version__.split('.') > ['1', '0']: INSTALLED_APPS = list(INSTALLED_APPS) + [ 'wagtail.contrib.wagtailsearchpromotions' ] EMAIL_SUBJECT_PREFIX = '[openstax] ' INTERNAL_IPS = ('127.0.0.1', '10.0.2.2') # django-compressor settings COMPRESS_PRECOMPILERS = (('text/x-scss', 'django_libsass.SassCompiler'), ) # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False. # See http://docs.djangoproject.com/en/dev/topics/logging for
'wagtail.wagtailembeds', 'wagtail.wagtailsearch', 'wagtail.wagtailredirects', 'wagtail.wagtailforms', 'wagtail.wagtailsites', 'wagtail.contrib.wagtailapi', 'demo', ) # Add wagtail.contrib.wagtailsearchpromotions to INSTALLED_APPS # if we're on Wagtail 1.1 or later. # NB this is a quick-and-dirty version check that won't work with # full generality (double-digit versions, alpha/beta releases) from wagtail.wagtailcore import __version__ if __version__.split('.') > ['1', '0']: INSTALLED_APPS = list(INSTALLED_APPS) + ['wagtail.contrib.wagtailsearchpromotions'] EMAIL_SUBJECT_PREFIX = '[wagtaildemo] ' INTERNAL_IPS = ('127.0.0.1', '10.0.2.2') TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.contrib.auth.context_processors.auth',