more struture and codes for application

This commit is contained in:
Luiz Gustavo Costa (gugabsd)
2013-01-07 16:09:05 -02:00
parent 0c03506c24
commit af4ea865a7
12 changed files with 183 additions and 0 deletions

11
config.py Normal file
View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
import os
_basedir = os.path.abspath(os.path.dirname(__file__))
DEBUG = False
SECRET_KEY = 'niuddm7nh235hybh786f67vtbcawkiknl/'
PATH_DB = os.path.join("./db", "main.db")
SQLALCHEMY_DATABASE_URI = 'sqlite:///%s' % (PATH_DB)