summaryrefslogtreecommitdiff
path: root/config/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/settings.py')
-rw-r--r--config/settings.py188
1 files changed, 0 insertions, 188 deletions
diff --git a/config/settings.py b/config/settings.py
deleted file mode 100644
index fcc74d5..0000000
--- a/config/settings.py
+++ /dev/null
@@ -1,188 +0,0 @@
-import os
-from os.path import dirname, abspath
-
-PROJ_ROOT = abspath(dirname(dirname(__file__))) + '/'
-
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
-
-ADMINS = (
- # ('Your Name', 'your_email@example.com'),
-)
-
-MANAGERS = ADMINS
-
-DATABASES = {
- 'default': {
- 'NAME': 'luxagraf',
- 'ENGINE': 'django.contrib.gis.db.backends.postgis',
- 'USER': 'luxagraf',
- 'PASSWORD': 'translinguis#',
- 'HOST': '127.0.0.1',
- }
-}
-
-TIME_ZONE = 'America/New_York'
-LANGUAGE_CODE = 'en-us'
-SITE_ID = 1
-SITE_URL = 'https://luxagraf.net/'
-USE_I18N = False
-USE_L10N = True
-USE_TZ = False
-
-# Host for sending e-mail.
-EMAIL_USE_TLS = True
-EMAIL_HOST = 'smtp.gmail.com'
-EMAIL_HOST_USER = 'luxagraf@gmail.com'
-EMAIL_HOST_PASSWORD = 'madkvlgitipozila'
-EMAIL_PORT = 587
-
-ALLOWED_HOSTS = (
- '127.0.0.1',
- '127.0.0.1.',
- 'localhost',
- 'localhost.',
- 'live.luxagraf.net',
- 'live.luxagraf.net.',
- 'test.luxagraf.net',
- 'test.luxagraf.net.',
-)
-# API key for Flickr imports
-FLICKR_API_KEY = '7b9d978a440c6ab65a545adc0aa0d693'
-FLICKR_API_SECRET = '42ad60f04745cd9b'
-
-# Twitter POSSE:
-TWITTER_API_KEY = '5L4BhWsrxhWuVrSJBA7aPdpBm'
-TWITTER_API_SECRET = 'PCaLXnqfDCT2XaN6IgFPDahcHjlJS7aw8mYN7MF7mdXo0tPneT'
-TWITTER_ACCESS_TOKEN = '9469062-hVYaqIY96J3XtK3Lpigv0elkRdg82x8eYuX2DLqG4o'
-TWITTER_ACCESS_SECRET = '17ilcMIIhPK4vgt7A0h3vfrXnCoHb4z28CbVZnYiMg1oh'
-
-# Allowed tags in comments:
-BLEACH_ALLOWED_TAGS = ['p', 'b', 'i', 'em', 'strong', 'a']
-BLEACH_ALLOWED_ATTRIBUTES = ['href',]
-BLEACH_STRIP_TAGS = True
-#Pinboard User Info
-PIN_USER = "luxagraf"
-PIN_PASS = "hyperrealtryptamine@34zaq"
-#root url
-BASE_URL = "http://luxagraf.net/"
-#path to the folder that holds the generated html files
-FLATFILES_ROOT = os.path.join(PROJ_ROOT, 'site/')
-#media and image URLs for the generated html files
-BAKED_IMAGES_URL = 'https://images.luxagraf.net/'
-BAKED_MEDIA_URL = 'http://luxagraf.net/media/'
-#BAKED_MEDIA_URL = 'http://127.0.0.1:8000/media/'
-#path to http://images.luxagraf.net root
-IMAGES_ROOT = os.path.join(PROJ_ROOT, 'site/media/images')
-IMAGES_URL = 'https://images.luxagraf.net/'
-#IMAGES_URL = 'http://127.0.0.1:8000/media/images/'
-
-# Absolute filesystem path to the directory that will hold user-uploaded files.
-# Example: "/home/media/media.lawrence.com/media/"
-MEDIA_ROOT = os.path.join(PROJ_ROOT, 'site/media')
-
-# URL that handles the media served from MEDIA_ROOT. Make sure to use a
-# trailing slash.
-# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
-MEDIA_URL = 'http://live.luxagraf.net/media/'
-
-# Absolute path to the directory static files should be collected to.
-# Don't put anything in this directory yourself; store your static files
-# in apps' "static/" subdirectories and in STATICFILES_DIRS.
-# Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = os.path.join(PROJ_ROOT, 'static/')
-
-# URL prefix for static files.
-# Example: "http://media.lawrence.com/static/"
-STATIC_URL = '/static/'
-
-# Additional locations of static files
-STATICFILES_DIRS = (
- # Put strings here, like "/home/html/static" or "C:/www/django/static".
- # Always use forward slashes, even on Windows.
- # Don't forget to use absolute paths, not relative paths.
-)
-
-# List of finder classes that know how to find static files in
-# various locations.
-STATICFILES_FINDERS = (
- 'django.contrib.staticfiles.finders.FileSystemFinder',
- 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
-)
-
-# Make this unique, and don't share it with anybody.
-SECRET_KEY = '^gaz8-&iy8z@(nwp#xe1age(t141w-47fh=cv8a7w2=x2=a-&7'
-
-# List of callables that know how to import templates from various sources.
-TEMPLATE_LOADERS = (
- 'django.template.loaders.filesystem.Loader',
- 'django.template.loaders.app_directories.Loader',
-)
-
-MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- # Uncomment the next line for simple clickjacking protection:
- # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
-)
-
-TEMPLATE_CONTEXT_PROCESSORS = (
- "django.core.context_processors.request",
- "django.contrib.auth.context_processors.auth",
- "django.core.context_processors.debug",
- "django.core.context_processors.i18n",
- "django.core.context_processors.media",
- "django.core.context_processors.static",
- "django.core.context_processors.tz",
- "django.contrib.messages.context_processors.messages"
-)
-#CACHES = {
-# 'default': {
-# 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
-# 'LOCATION': '127.0.0.1:11211',
-# }
-#}
-ROOT_URLCONF = 'config.base_urls'
-
-TEMPLATE_DIRS = (
- os.path.join(PROJ_ROOT, 'design/templates'),
-)
-
-
-INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.staticfiles',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'django.contrib.admin',
- 'django.contrib.sitemaps',
- 'django.contrib.gis',
- 'django_extensions',
- 'django_gravatar',
- 'django_comments',
- 'django_bleach',
- 'locations',
- 'blog',
- 'photos',
- 'taggit',
- 'typogrify',
- 'links',
- 'pagination',
- 'templatetags',
- 'projects',
- 'guide',
- 'pages',
- 'birds',
- 'books',
- 'stuff',
- 'notes',
- #'fluent_comments',
- #'crispy_forms',
- #'django.contrib.comments',
-)
-
-#COMMENTS_APP = 'fluent_comments'