__init__.py 446 Bytes
Newer Older
Daniel W Bond's avatar
Daniel W Bond committed
1
from flask import Flask
2
from flask.ext.gravatar import Gravatar
3
from flask_frozen import Freezer
4

Daniel W Bond's avatar
Daniel W Bond committed
5
website = Flask(__name__)
6 7
freezer = Freezer(website)

Daniel W Bond's avatar
Daniel W Bond committed
8
from website import views
9 10 11 12 13 14 15

# initialize gravatar defaults
gravatar = Gravatar(website,
                    size = 80,
                    rating='g',
                    default='mm',
                    force_default=False,
Andrew Chapin's avatar
Andrew Chapin committed
16
                    use_ssl=True,
17
                    base_url=None)