Skip to content
Myr

Added 'import os' statement

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Added 'import os' statement so you can use os.path.join() when defining DATABASE location

authored by Eliseo Ocampos · committed by Eliseo Ocampos · parent 7a353a7 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/tutorial/setup.rst+1 added
12 unmodified lines
1314First we add the imports in `flaskr.py`::1516 # all the imports17 import os18 import sqlite319 from flask import Flask, request, session, g, redirect, url_for, abort, \20 render_template, flash21
98 unmodified lines