ãã¼ã¿ãã¼ã¹æ¥ç¶ã»ã¢ãã«ä½æã»ãã¼ã¿æ¿å ¥ Userã¢ãã«ã¨ã¦ã¼ã¶ã¼idã«ç´ã¥ãTaskã¢ãã«ã¨ãã2ã¤ã®ã¢ãã«ãæ±ãä¾ã§ãã Herokuã§ãã¾ãããã«ã¯ä»¥ä¸ã®ããã«DATABASE_URLãæ示ãã¦DBæ¥ç¶ãããå¿ è¦ãããã¾ãã app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL'] from flask.ext.sqlalchemy import SQLAlchemy from flask import Flask, render_template, request # DBæ¥ç¶ã«é¢ããé¨å app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL'] db = SQLAlchemy(app)
{{#tags}}- {{label}}
{{/tags}}