Comments (3)
数据库的话,在MySQL中建一个叫做stuinfosystem的数据库,其中有两张表,分别是acount和stuinfo。acount表中主要储存用户登陆的昵称和密码,有两个字段,分别是username和password,都是char类型,长度分别为100,100,都是not null。至于stuinfo表中则储存的是学生的信息,字段分别是name,age,num,profession,分别存储学生的姓名,年龄,学号和专业,类型分别为char,int,char,char,长度分别为10,11,20,50。如果要修改连接数据库的相关信息的话,需要在data.py中的init函数修改一下,差不多就这些。不过后面可能还会再改。现在这个代码是对应的这个数据库的表结构。
from mansys.
现在可以查看readme文档了,其中有数据库的配置信息。
from mansys.
好的谢谢大佬
from mansys.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mansys.