程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Computer graduation design Python+djang civil service examination information management system (source code + system + mysql database + Lw document)

編輯:Python

項目介紹

隨著社會的發展,In recent years, most of the graduates will choose postgraduate entrance examination,Examination of public officials and examination of teacher qualification certificates to increase their competitiveness in the future society.In order to allow these people with lofty ideals to have a better learning and communication platform,We pass the meterPython+djangDeveloped the civil service examination information management system.Through this system, students who want to be admitted to the civil service can conduct online learning.Check out the different types of learning resources.after studying for a while,You can test your mastery of knowledge by taking an online exam.At the same time, players can also view announcements and communicate online,Through these functions, those who are admitted to the civil service can have a better learning and communication platform

功能介紹

The needs of the civil service examination information management system and the serious analysis of the platform,將系統權限按管理員和用戶這兩類涉及用戶劃分.
(a) 管理員;管理員使用本系統涉到的功能主要有:首頁,個人中心,用戶管理,學習分類管理,學習區域管理,試題管理,試卷管理,系統管理,考試管理等功能
(b)用戶;進入系統可以實現首頁,學習區域,試卷,系統公告,個人中心,後台管理等功能

開發環境

計算機畢業設計Python+djang公務員考試信息管理系統(源碼+系統+mysql數據庫+Lw文檔)
開發語言:Python
python框架:django
軟件版本:python3.7/python3.8
數據庫:mysql 5.7或更高版本
數據庫工具:Navicat11
開發軟件:PyCharm/vs code
前端框架:vue.js
可開發框架:ssm/Springboot/vue/python/PHP/小程序/安卓均可開發

系統截圖

This interface is the main interface of the system. Here we can see all the system,Here we can see all the functions of the system.It mainly includes the announcement personal center of the examination paper system in the learning area, etc,test paper system,公告,個人中心等內容.
When students have studied in the system for a period of time, they want to improve their grasp of their own support,Want to take a test of your mastery of support.這個時候就可以通過.The online test function is used to test it.Online Test First we list the name of the test paper.Students can see the detailed content of the test paper and go online by clicking on the name of the test paper,You can see the details of the test paper,and answer questions online.After answering the questions, submit the test paper and the system will automatically give you the score.

This system not only provides the function of online testing,It also provides a function of wrong question book,A summary is made of some of the wrong questions in the previous exams,for better learning.Improve your score.

This interface is the system user management interface,Mainly includes the user's account,用戶的姓名,性別,年齡,The content of the avatar and the user's contact information.Administrators can view the details of these users,At the same time, the information can be modified and deleted.

Managers can publish some of the latest learning materials in the learning area,Learning areas can in turn categorize them.Include the name of the study area in the study area,圖片.Content of video classification and publication time.Managers can also view details and modify them,刪除等操作.


# url規則列表
urlpatterns = [
path(r'users/register', users_v.users_register),
path(r'users/login', users_v.users_login),
path(r'users/logout', users_v.users_logout),
path(r'users/session', users_v.users_session),
path(r'users/page', users_v.users_page),
path(r'users/save', users_v.users_save),
path(r'users/info/<id_>', users_v.users_info),
path(r'users/update', users_v.users_update),
path(r'users/delete', users_v.users_delete),
path(r'config/page', config_v.config_page),
path(r'config/list', config_v.config_list),
path(r'config/save', config_v.config_save),
path(r'config/add', config_v.config_add),
path(r'config/info/<id_>', config_v.config_info),
path(r'config/detail/<id_>', config_v.config_detail),
path(r'config/update', config_v.config_update),
path(r'config/delete', config_v.config_delete),
]
# main app的路徑
mainDir = os.path.join(os.getcwd(), "main")
# Filter the list of files
excludeList = [
"schema_v.py",
"users_v.py",
"config_v.py",
]
# Loop through the current directorypy文件
view_tuple = set()
for i in os.listdir(mainDir):
if i not in excludeList and i[-5:] == "_v.py":
viewName = i[:-3] # 去掉.py後綴字符串
view_tuple.add("from main import {}".format(viewName))
# 組合成import字符串
import_str = '\n'.join(view_tuple)
# print(import_str)
exec(import_str)
for i in os.listdir(mainDir):
if i not in excludeList and i[-5:] == "_v.py":
tableName = i[:-5]
tableName = tableName.replace(" ", "").strip()
print("tableName============>", tableName, len(tableName))
urlpatterns.extend(
[
path(r'{
}/register'.format(tableName.lower()),
eval("{}_v.{}_register".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/login'.format(tableName.lower()),
eval("{}_v.{}_login".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/logout'.format(tableName.lower()),
eval("{}_v.{}_logout".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/resetPass'.format(tableName.lower()),
eval("{}_v.{}_resetPass".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/session'.format(tableName.lower()),
eval("{}_v.{}_session".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/default'.format(tableName.lower()),
eval("{}_v.{}_default".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/page'.format(tableName.lower()),
eval("{}_v.{}_page".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/autoSort'.format(tableName.lower()),
eval("{}_v.{}_autoSort".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/save'.format(tableName.lower()),
eval("{}_v.{}_save".format(tableName.capitalize(), tableName.lower()))),
path(r'{}/add'.format(tableName.lower()),
eval("{}_v.{}_add".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/thumbsup/<id_>'.format(tableName.lower()),
eval("{}_v.{}_thumbsup".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/info/<id_>'.format(tableName.lower()),
eval("{}_v.{}_info".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/detail/<id_>'.format(tableName.lower()),
eval("{}_v.{}_detail".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/update'.format(tableName.lower()),
eval("{}_v.{}_update".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/delete'.format(tableName.lower()),
eval("{}_v.{}_delete".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/vote/<id_>'.format(tableName.lower()),
eval("{}_v.{}_vote".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/importExcel'.format(tableName.lower()),
eval("{}_v.{}_importExcel".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/sendemail'.format(tableName.lower()),
eval("{}_v.{}_sendemail".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/autoSort2'.format(tableName.lower()),
eval("{}_v.{}_autoSort2".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/value/<xColumnName>/<yColumnName>/<timeStatType>'.format(tableName.lower()),
eval("{}_v.{}_value".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/value/<xColumnName>/<yColumnName>'.format(tableName.lower()),
eval("{}_v.{}_o_value".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/alipay'.format(tableName.lower()),
eval("{}_v.{}_alipay".format(tableName.capitalize(), tableName.lower()))),
path(r'{
}/notify'.format(tableName.lower()),
eval("{}_v.{}_notify".format(tableName.capitalize(), tableName.lower()))),
]
)

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved