Commit 6a24a6cc authored by colmoneill's avatar colmoneill

beginning with #6 but few bugs I don't have time to look into now

parent 8484f566
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask
import os
DEBUG = True
FLATPAGES_AUTO_RELOAD = DEBUG
FLATPAGES_EXTENSION = '.md'
FLATPAGES_MARKDOWN_EXTENSIONS = ['markdown.extensions.extra', 'headerid']
app = Flask(__name__)
app.config['SECRET_KEY'] = 'w^c4t&fp@9T28p*Q$CrhYE'
app.config['SECURITY_REGISTERABLE'] = True
app.config['SECURITY_RECOVERABLE'] = True
# app.config['SECURITY_TRACKABLE'] = True
app.config['SECURITY_PASSWORD_HASH'] = 'bcrypt'
app.config['SECURITY_PASSWORD_SALT'] = '$2a$16$PnnIgfMwkOjGX4SkHqSOPO'
app.config['MAIL_SERVER'] = 'mail.gandi.net'
app.config['MAIL_PORT'] = 465
app.config['MAIL_USE_SSL'] = True
app.config['MAIL_USERNAME'] = 'automatic@colm.be'
app.config['MAIL_PASSWORD'] = 'testing#123'
app.config['MAIL_DEFAULT_SENDER'] = 'automatic@colm.be'
# MongoDB Config
app.config['MONGODB_DB'] = 'mydatabase'
app.config['MONGODB_HOST'] = 'localhost'
app.config['MONGODB_PORT'] = 27017
# EVENTBRITE API
eventbrite_url_requete = "https://www.eventbriteapi.com/v3/events/search/?q=fablab&expand=organizer&token=AYO4PV2UJHXEBOLGXG74"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment