summaryrefslogtreecommitdiffstats
path: root/files/lists-dev/hyperkitty.settings_local.py.j2
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2014-01-17 11:00:58 +0000
committerAurélien Bompard <aurelien@bompard.org>2014-01-17 11:01:27 +0000
commitb2e8e6020ab5835ee34fc9cf5ce1600914ac5b0d (patch)
treea3bb98615965c685fda40011ba860e3e110c40f7 /files/lists-dev/hyperkitty.settings_local.py.j2
parent17f003db5b3de1314f0bce04baf3692866550a57 (diff)
downloadansible-b2e8e6020ab5835ee34fc9cf5ce1600914ac5b0d.tar.gz
ansible-b2e8e6020ab5835ee34fc9cf5ce1600914ac5b0d.tar.xz
ansible-b2e8e6020ab5835ee34fc9cf5ce1600914ac5b0d.zip
Use the mailman role for lists-dev
Diffstat (limited to 'files/lists-dev/hyperkitty.settings_local.py.j2')
-rw-r--r--files/lists-dev/hyperkitty.settings_local.py.j296
1 files changed, 0 insertions, 96 deletions
diff --git a/files/lists-dev/hyperkitty.settings_local.py.j2 b/files/lists-dev/hyperkitty.settings_local.py.j2
deleted file mode 100644
index ccd5565aa..000000000
--- a/files/lists-dev/hyperkitty.settings_local.py.j2
+++ /dev/null
@@ -1,96 +0,0 @@
-#-*- coding: utf-8 -*-
-
-"""
-Django local settings for the hyperkitty project.
-"""
-
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
-
-ADMINS = ()
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'hyperkitty',
- 'USER': 'hyperkitty',
- 'PASSWORD': '{{ lists_dev_hk_db_pass }}',
- 'HOST': 'localhost',
- 'PORT': '',
- }
-}
-# URL prefix for static files.
-# Example: "http://media.lawrence.com/static/"
-STATIC_URL = '/hyperkitty/static/'
-
-# Add Fedora to the authentication backends
-AUTHENTICATION_BACKENDS = (
- 'social_auth.backends.browserid.BrowserIDBackend',
- 'hyperkitty.lib.fedora.FedoraBackend',
- 'social_auth.backends.google.GoogleBackend',
- 'social_auth.backends.yahoo.YahooBackend',
- #'social_auth.backends.OpenIDBackend',
- 'django.contrib.auth.backends.ModelBackend',
-)
-
-# Use the email address as the username (add associate_by_email).
-SOCIAL_AUTH_PIPELINE = (
- 'social_auth.backends.pipeline.social.social_auth_user',
- 'social_auth.backends.pipeline.associate.associate_by_email',
- 'social_auth.backends.pipeline.user.get_username',
- 'social_auth.backends.pipeline.user.create_user',
- 'social_auth.backends.pipeline.social.associate_user',
- 'social_auth.backends.pipeline.social.load_extra_data',
- 'social_auth.backends.pipeline.user.update_user_details'
-)
-
-# 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.
-# See http://docs.djangoproject.com/en/dev/topics/logging for
-# more details on how to customize your logging configuration.
-LOGGING = {
- 'version': 1,
- 'disable_existing_loggers': False,
- 'handlers': {
- 'mail_admins': {
- 'level': 'ERROR',
- 'class': 'django.utils.log.AdminEmailHandler'
- },
- 'file':{
- 'level': 'DEBUG',
- #'class': 'logging.handlers.RotatingFileHandler',
- 'class': 'logging.FileHandler',
- 'filename': '/var/log/hyperkitty/hyperkitty.log',
- 'formatter': 'verbose',
- },
- },
- 'loggers': {
- 'django.request': {
- 'handlers': ['file'],
- 'level': 'ERROR',
- 'propagate': True,
- },
- 'django': {
- 'handlers': ['file'],
- 'level': 'ERROR',
- 'propagate': True,
- },
- 'hyperkitty': {
- 'handlers': ['file'],
- 'level': 'DEBUG',
- 'propagate': True,
- },
- },
- 'formatters': {
- 'verbose': {
- 'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
- },
- 'simple': {
- 'format': '%(levelname)s %(message)s'
- },
- },
-}
-
-APP_NAME = 'Fedora list archives'
-KITTYSTORE_URL = 'postgres://kittystore:{{ lists_dev_ks_db_pass }}@localhost/kittystore'
-USE_MOCKUPS = False