Commit ff4a13ed authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

major changes

parent 51f76a47
Pipeline #38 failed with stages
from flask import Flask
app = Flask(__name__)
if app.config['ENV'] == 'production':
app.config.from_object('config.ProductionConfig')
else:
app.config.from_object('config.DevelopmentConfig')
from app import views
from misc import with_psql from app.helpers.misc import with_psql
@with_psql @with_psql
def create(cur, name, appkey, username, desc): def create(cur, name, appkey, username, desc):
......
from psycopg2 import sql from psycopg2 import sql
from misc import with_psql from app.helpers.misc import with_psql
@with_psql @with_psql
......
Supports Markdown
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