summaryrefslogtreecommitdiff
path: root/config/settings.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-11-10 20:53:41 -0500
committerluxagraf <sng@luxagraf.net>2014-11-10 20:53:41 -0500
commita44f67ef290e120736cf881b326eb5145a3d66f7 (patch)
tree280b0f945e84cdd8fa6e544a47bfdd52c496a0d8 /config/settings.py
parent9454271f27a90d8feb3fb8a11164f5b04a512139 (diff)
Updated settings.py
Diffstat (limited to 'config/settings.py')
-rw-r--r--config/settings.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/config/settings.py b/config/settings.py
index b01561c..fcc74d5 100644
--- a/config/settings.py
+++ b/config/settings.py
@@ -3,7 +3,7 @@ from os.path import dirname, abspath
PROJ_ROOT = abspath(dirname(dirname(__file__))) + '/'
-DEBUG = False
+DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -33,8 +33,8 @@ USE_TZ = False
# Host for sending e-mail.
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
-EMAIL_HOST_USER = 'sendluxagraf@gmail.com'
-EMAIL_HOST_PASSWORD = '^C9XZz55UJ@j2@5XNU'
+EMAIL_HOST_USER = 'luxagraf@gmail.com'
+EMAIL_HOST_PASSWORD = 'madkvlgitipozila'
EMAIL_PORT = 587
ALLOWED_HOSTS = (
@@ -57,6 +57,10 @@ 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"
@@ -71,6 +75,7 @@ BAKED_MEDIA_URL = 'http://luxagraf.net/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/"
@@ -157,6 +162,9 @@ INSTALLED_APPS = (
'django.contrib.sitemaps',
'django.contrib.gis',
'django_extensions',
+ 'django_gravatar',
+ 'django_comments',
+ 'django_bleach',
'locations',
'blog',
'photos',