From ffff509cf07b4791201915f98116aec51eb4a651 Mon Sep 17 00:00:00 2001 From: Eliseo Ocampos Date: Tue, 4 Mar 2014 14:57:12 -0800 Subject: [PATCH] Added 'import os' statement Added 'import os' statement so you can use os.path.join() when defining DATABASE location --- docs/tutorial/setup.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorial/setup.rst b/docs/tutorial/setup.rst index ed8a744c..65d4b3f2 100644 --- a/docs/tutorial/setup.rst +++ b/docs/tutorial/setup.rst @@ -14,6 +14,7 @@ load that or import the values from there. First we add the imports in `flaskr.py`:: # all the imports + import os import sqlite3 from flask import Flask, request, session, g, redirect, url_for, abort, \ render_template, flash