mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
4898b69ea0
Fixes #16
17 lines
392 B
Python
17 lines
392 B
Python
from flask import *
|
|
from flask_user import *
|
|
import flask_menu as menu
|
|
from flask.ext import markdown
|
|
from flask_github import GitHub
|
|
import os
|
|
|
|
app = Flask(__name__)
|
|
app.config.from_pyfile(os.environ["FLASK_CONFIG"])
|
|
|
|
menu.Menu(app=app)
|
|
markdown.Markdown(app, extensions=["fenced_code"], safe_mode=True, output_format="html5")
|
|
github = GitHub(app)
|
|
|
|
from . import models
|
|
from .views import *
|