Python Django-based civil service examination information management system + database (with source code, tutorial)

1 Introduction

The development of the civil service examination information management system uses Python technology, the overall idea of ​​MIS, and the support of MYSQL and other technologies to complete the development of the system, realize the informatization of civil service examination information management, and enable users to experience a better civil service examination Information management system, administrator management operation will be more convenient to achieve the goal.

image-20230502093925153

2. Technology stack

Python Django

MySql

HTML,Javascript

3 Functional Analysis

Considering the needs of the civil servant examination information management system in real life and the serious analysis of the platform, the system authority is divided into two types of users involved, administrators and users.

(a) Administrators; the functions involved in the use of this system by administrators mainly include: home page, personal center, user management, learning category management, learning area management, test question management, test paper management, system management, test management and other functions. The administrator use case diagram is shown in Figure 3-1.

img

(b) User: Entering the system can realize home page, study area, test paper, system announcement, personal center, background management and other functions. The user use case diagram is shown in Figure 3-2.

img

4 Function specific design

4.1 Software function module design

The overall function of the system is shown in the figure below:

img

Figure 4-1 Overall functional block diagram of the system

4.2 Database Design and Implementation

The database plays a very important role in every system. A well-designed database will increase the efficiency of the system and the realization of the logic functions of the system. Therefore, the design of the database should proceed from the actual needs of the system in order to make it more perfectly in line with the realization of system functions.

4.2.1 Conceptual model design

The conceptual model is a description of the things that appear in real problems. The ER diagram is a diagram composed of entities and their relationships. Through the ER diagram, the relationship between the entities involved in the system can be clearly described.

The user registration entity diagram is shown in Figure 4-2:

img

The learning area management entity diagram is shown in Figure 4-3:

[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-mmteZGs7-1682991907144) (Users/junxu/Library/Group Containers/UBF8T346G9.Office/TemporaryItems/msohtmlclip/clip_image006. jpg)]

4.2.2 Database logical structure design

According to ER, the database contains the following data tables to realize the storage and call of the database. Each field name, data type, primary and foreign keys and remarks of the data table are listed below.

Table 4-1: Study Area Comment Form

Field Name type length field description primary key Defaults
id bigint primary key primary key
addtime timestamp creation time CURRENT_TIMESTAMP
refid bigint Association table id
userid bigint user id
nickname varchar 200 username
content longtext 4294967295 comments
reply longtext 4294967295 reply content

Table 4-2: Configuration files

Field Name type length field description primary key Defaults
id bigint primary key primary key
name varchar 100 Configuration parameter name
value varchar 100 Configuration parameter value

Table 4-3: Users

Field Name type length field description primary key Defaults
id bigint primary key primary key
addtime timestamp creation time CURRENT_TIMESTAMP
yonghuzhanghao varchar 200 user account
mima varchar 200 password
yonghuxingming varchar 200 username
xingbie varchar 200 gender
nianling varchar 200 age
touxiang varchar 200 avatar
yonghushouji varchar 200 user mobile phone

5 System detailed design

5.1 System function modules

Civil servant examination information management system, on the home page of the system, you can view the home page, study area, test paper, system announcement, personal center, background management, etc., and perform detailed operations; as shown in Figure 5-1.

image-20230502093254602

User registration, on the user registration page, complete the registration operation by filling in the user account, password, confirmation password, user name, age, mobile phone number and other information, as shown in Figure 5-2.

image-20230502093342614

Learning area, on the learning area page, you can view learning classification, release time, etc., and perform operations, as shown in Figure 5-3.image-20230502093359082

Test paper, on the test paper page, you can view the test paper name, test paper duration, creation time, etc. and perform test operations, as shown in Figure 5-4.image-20230502093413950

Personal center, update information on the personal center page by filling in user account, password, user name, gender, age, uploaded pictures, user mobile phone, etc., and can also perform corresponding operations on exam records, wrong test books, and my favorites as needed , as shown in Figure 5-5.

image-20230502093428154

5.2 Administrator function module

The administrator logs in. Before entering the system, fill in the user name and password on the login page according to the requirements, and click Login to log in, as shown in Figure 5-6.

image-20230502093914841

After the administrator logs in to the system, he can operate and manage the home page, personal center, user management, learning category management, learning area management, test question management, test paper management, system management, and test management, as shown in Figure 5-7 .

image-20230502093925153

Personal center, user name and password can be modified on the personal center page, as shown in Figure 5-8.

image-20230502093939257

Guess you like

Origin blog.csdn.net/JasonXu94/article/details/130461468