Giter VIP home page Giter VIP logo

coursesys's Introduction

需求

  • 用户角色,讲师\学员, 用户登陆后根据角色不同,能做的事情不同,分别如下
  • 讲师视图 1)管理班级,可创建班级,根据学员qq号把学员加入班级 2)可创建指定班级的上课纪录,注意一节上课纪录对应多条学员的上课纪录,即每节课都有整班学员上,为了纪录每位学员的学习成绩,需在创建每节上课纪录是,同时为这个班的每位学员创建一条上课纪录 3)为学员批改成绩,一条一条的手动修改成绩
  • 学员视图 1)提交作业 2)查看作业成绩 3)一个学员可以同时属于多个班级,就像报了Linux的同时也可以报名Python一样, 所以提交作业时需先选择班级,再选择具体上课的节数
  • 附加:学员可以查看自己的班级成绩排名

#实现思路

  • 使用sqlalchemy的orm工具,加入面向对象的思路来实现;

#难点

#执行 core/courseMain.py

#部署环境

  1. 先安装pymysql、sqlachemy模块;
  2. 根据conf/setting.cnf的配置,部署MySQL;
  3. MySQL一定要授权给setting.cnf的用户;
  4. 初始化脚本,可以直接执行core/initdb.py;

#运行截图 看doc下的测试截图.jpg

coursesys's People

Contributors

alys114 avatar

Watchers

James Cloos avatar

Forkers

echorc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.