8000 GitHub - Outliers1106/lostfound
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Outliers1106/lostfound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lostfound

  1. setting.py是整个django项目的设置文件,有各种设置的开关以及路径。
  2. urls.py中保存有url与视图函数(view)的映射关系

APP 项目目前有两个APP:modelimg

  1. img是我用来测试图片上传功能的APP
  2. model是最主要的APP
    • models.py 数据库对象的模型
    • forms.py django表单模型,格式上同models.py很像,注意区分
    • views.py django的视图函数,通过urls.py映射对应的视图完成指定的功能, view同前端网页和后端数据库连接

templates 当前测试功能的简单网页(HTML)

  • index.html (img)
  • login_form.html (model) 用户登陆界面
  • objUpload.html (model) 失物信息上传页面

upload 用来保存用户上传的图片

mydb.db SQLite数据库

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0