Browse Source

Added 'import os' statement

Added 'import os' statement so you can use os.path.join() when defining DATABASE location
pull/994/head
Eliseo Ocampos 11 years ago
parent
commit
ffff509cf0
  1. 1
      docs/tutorial/setup.rst

1
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

Loading…
Cancel
Save