This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, jsonify, request, make_response | |
from flask.ext.httpauth import HTTPBasicAuth | |
from flask_sqlalchemy import SQLAlchemy | |
from flask import render_template, redirect, url_for | |
from sqlalchemy import UniqueConstraint, exc | |
app = Flask(__name__) | |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///memes.db' | |
app.config['SECRET_KEY'] = 'HALO' |