__init__.py 387 Bytes
Newer Older
Daniel W Bond's avatar
Daniel W Bond committed
1
2
from flask import Flask

3
4
from flask.ext.gravatar import Gravatar

Daniel W Bond's avatar
Daniel W Bond committed
5
6
website = Flask(__name__)
from website import views
7
8
9
10
11
12
13
14
15

# initialize gravatar defaults
gravatar = Gravatar(website,
                    size = 80,
                    rating='g',
                    default='mm',
                    force_default=False,
                    use_ssl=False,
                    base_url=None)