aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/__init__.py')
-rw-r--r--pyaggr3g470r/__init__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index 2f52dc2c..e948a187 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -4,6 +4,7 @@
import os
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
+from flask.ext.gravatar import Gravatar
import conf
@@ -36,4 +37,8 @@ if not conf.ON_HEROKU:
from flask.ext.mail import Message, Mail
mail = Mail(app)
-from pyaggr3g470r import views \ No newline at end of file
+# Gravatar
+gravatar = Gravatar(app, size=100, rating='g', default='retro',
+ force_default=False, use_ssl=False, base_url=None)
+
+from pyaggr3g470r import views
bgstack15