GithubHelp home page GithubHelp logo

django-travel's Introduction

基于Django的定点景点及酒店推荐预订系统

本系统使用Python 3.7+Django 2.1.8+MySQL 8.0

  • 前置准备条件
    • matplotlib安装
      • pip install matplotlib
    • PIL安装
      • pip install Pillow
    • re安装
      • pip install re
  • 建立数据库
    • 数据库名:travel
    • setting中可自行修改数据库名称,用户名及密码
  • 运行
    • Python manage.py runserver
      • 打开网页,键入:127.0.0.1:8000
    • python manage.py runserver 0.0.0.0
      • 允许在同一内网的所有主机访问该网站
  • 目录结构
    • Travels
      • 为Django的主目录,内含setting,urls等配置文件
    • templates
      • 存放前端页面
    • static
      • 存放静态文件
    • media
      • 存放上传文件
    • pay
      • 订单支付文件
    • new
      • 普通用户后台
      • 景区,酒店管理人员后台
    • index
      • 前端静态页面渲染
  • 数据库
    • attractions_datail
      • 景点详情信息存储
    • attractions_img
      • 景点图片存储
    • attractions_order
      • 景点订单
    • attractions_price
      • 景点票价信息存储
    • auth_group
      • 用户组
    • auth_user
      • 用户信息存储
    • django_session
      • 存储用户登录session
    • flow
      • 景区流量分析信息以及自动生成的图集存储
    • home_datail
      • 酒店房型信息存储
    • hotel_datail
      • 酒店信息存储
    • hotel_img
      • 酒店图片存储
    • hotel_order
      • 酒店订单存储
    • news
      • 新闻存储
    • publicity_photo
      • 宣传照存储
    • user_information
      • 用户详情信息存储
    • user_order
      • 用户订单存储

django-travel's People

Contributors

gavin-gqzhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

django-travel's Issues

请教

您好,在该程序运行时,遇到一点点小问题可以像您请教一下吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.