La version 5 de Planète Casio. Regroupe le forum, les programmes, les tutoriel, les sprites et tous les autres outils développés par nos soins.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
348B

  1. from flask import Flask
  2. from flask_sqlalchemy import SQLAlchemy
  3. from flask_migrate import Migrate
  4. from flask_login import LoginManager
  5. from config import Config
  6. app = Flask(__name__)
  7. app.config.from_object(Config)
  8. db = SQLAlchemy(app)
  9. migrate = Migrate(app, db)
  10. login = LoginManager(app)
  11. login.login_view = 'login'
  12. from app import routes, models