예제 #1
0
def homepage():
    return render_template('index.html',
                           title='Prj Mgr',
                           projects=Project.get(excel_file))
예제 #2
0
def fetch(project_id):
    project = Project.get(project_id)
    if not project:
        return "No such project!", 404
    return db.json_encode(project.to_dict())
예제 #3
0
 def test_get(self):
     prjs = Project.get(self.data_file)
     pass