blob: f08b7d82b428ac89b15fae5a42744c7c554b25f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from flask import Flask
from os import getenv
from db_actions import db
app = Flask(__name__, static_url_path='')
app.secret_key = getenv("SECRET_KEY")
app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://postgres@localhost/postgres"
db.init_app(app)
import routes
import nick
import quiz
import question
import get_questions
|