Skip to content

Xhy-5000/database_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database_project

A student manage system base on django and mysql. This project is done by five students in CUHKSZ. You can get access to the whole project code from https://github.com/Xhy-5000/database_project

Installation

Python and Django need to be installed

pip install django
pip install pymysql

Initialize Database

  1. Open your mysql work bench and run init_db.sql (you can run the test.sql to ensure the data has already been inserted) code_image
  2. Find the settings.py in mysite dictionary, change the mysql username and password into yours' code_image

Usage

Go to the database_project folder and run

python manage.py runserver

Then go to the browser and enter the url http://127.0.0.1:8000/

Login

The login page is common for students and teachers.
The username is their name and password for everyone is 'csc3170'.

Example usernames:

student

  • AndyXia
  • DodoXia
  • AlexLi
  • ArthurLi

teacher

  • AlanTuring

Presentation

Home Page

code_image

Register Page

code_image

Alert for different kinds of errors

code_image code_image code_image

Student Page

code_image code_image code_image code_image code_image code_image

Teacher Page

code_image code_image code_image

About

Use django+mysql to apply a student management system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published