adds comment about creation of database
This commit is contained in:
parent
ecd73ead15
commit
2711e2c748
|
@ -1,6 +1,13 @@
|
|||
import sqlite3
|
||||
from sqlite3 import Error
|
||||
|
||||
""" Create database with:
|
||||
sqlite3 db/cgi-example.sqlite3 < create_schema.sql
|
||||
|
||||
Then give write permission to the both the database
|
||||
and the containing directory "db" to the user that your
|
||||
gemini server runs as
|
||||
"""
|
||||
database = r"db/cgi-example.sqlite3"
|
||||
|
||||
def create_connection():
|
||||
|
|
Loading…
Reference in New Issue