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. 511B

  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. login.login_message = "Veuillez vous authentifier avant de continuer."
  13. from app import models
  14. from app.routes import index, login, search, account, admin, users
  15. from app.utils import pluralize