资源简介

Python+Flask+sqlite实现的选课系统 大致包含4个页面,登陆页面,选修课程页面,必修课程页面和已选课程页面 登陆之后出现的页面中没有任何课程列表,需点击左边的选修课、必修课按钮添加选课(Compulsory course、Optional course),点击用户名即可跳转到已选课程页面 PS:将整个项目载入PyCharm之后,运行run.py即可

资源截图

代码片段和文件信息


class Config:
    SECRET_KEY = ‘hard to guess‘
    SQLALCHEMY_DATAbase_URI = ‘sqlite:///test.db‘
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    CSRF_ENABLED = True

    @staticmethod
    def init_app(app):
        pass

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-17 20:33  EleciotnClass\
     文件       10244  2017-10-17 20:39  EleciotnClass\.DS_Store
     目录           0  2017-10-17 20:51  __MACOSX\
     目录           0  2017-10-17 20:51  __MACOSX\EleciotnClass\
     文件         120  2017-10-17 20:39  __MACOSX\EleciotnClass\._.DS_Store
     目录           0  2017-10-17 20:33  EleciotnClass\ZZ-Election\
     文件        6148  2017-10-17 20:33  EleciotnClass\ZZ-Election\.DS_Store
     目录           0  2017-10-17 20:51  __MACOSX\EleciotnClass\ZZ-Election\
     文件         120  2017-10-17 20:33  __MACOSX\EleciotnClass\ZZ-Election\._.DS_Store
     目录           0  2017-10-17 20:32  EleciotnClass\ZZ-Election\.idea\
     目录           0  2017-08-07 17:57  EleciotnClass\ZZ-Election\.idea\inspectionProfiles\
     目录           0  2017-10-17 20:51  __MACOSX\EleciotnClass\ZZ-Election\.idea\
     文件         172  2017-08-07 17:57  __MACOSX\EleciotnClass\ZZ-Election\.idea\._inspectionProfiles
     文件         210  2017-08-07 18:07  EleciotnClass\ZZ-Election\.idea\misc.xml
     文件         172  2017-08-07 18:07  __MACOSX\EleciotnClass\ZZ-Election\.idea\._misc.xml
     文件         262  2017-08-07 17:53  EleciotnClass\ZZ-Election\.idea\modules.xml
     文件         172  2017-08-07 17:53  __MACOSX\EleciotnClass\ZZ-Election\.idea\._modules.xml
     文件         456  2017-08-07 18:07  EleciotnClass\ZZ-Election\.idea\Third.iml
     文件         172  2017-08-07 18:07  __MACOSX\EleciotnClass\ZZ-Election\.idea\._Third.iml
     文件       56443  2017-10-17 20:28  EleciotnClass\ZZ-Election\.idea\workspace.xml
     文件         172  2017-10-17 20:28  __MACOSX\EleciotnClass\ZZ-Election\.idea\._workspace.xml
     文件         172  2017-10-17 20:32  __MACOSX\EleciotnClass\ZZ-Election\._.idea
     目录           0  2017-10-17 20:32  EleciotnClass\ZZ-Election\__pycache__\
     文件         562  2017-08-07 18:12  EleciotnClass\ZZ-Election\__pycache__\config.cpython-35.pyc
     目录           0  2017-10-17 20:51  __MACOSX\EleciotnClass\ZZ-Election\__pycache__\
     文件         172  2017-08-07 18:12  __MACOSX\EleciotnClass\ZZ-Election\__pycache__\._config.cpython-35.pyc
     文件         172  2017-10-17 20:32  __MACOSX\EleciotnClass\ZZ-Election\.___pycache__
     文件         226  2017-08-06 20:43  EleciotnClass\ZZ-Election\config.py
     文件         172  2017-08-06 20:43  __MACOSX\EleciotnClass\ZZ-Election\._config.py
     目录           0  2017-10-17 20:32  EleciotnClass\ZZ-Election\Election\
     目录           0  2017-10-17 20:32  EleciotnClass\ZZ-Election\Election\.idea\
............此处省略84个文件信息

评论

共有 条评论