Giter VIP home page Giter VIP logo

hostsmanage's Introduction

HostsManage 主机管理系统

需求

  1. 通过前端页面实现操作后台数据库:实现增删改查
  2. 实现主机分组
  3. 实现不同的用户可以管理不同的主机
  4. 在前端可以对主机信息实现增删改查"

django后台管理页面

主机管理系统用户信息

超级管理员:admin/123456

普通用户:alex/123

数据库设计

HostGroup

id groupname

Host

id hostname ip port username password hostgroup_id

User

id user pwd

HostGroup_To_User

id hostgroup_id user_id

功能实现

通过前端页面实现操作后台数据库:实现增删改查

前端修改数据,然后通过form或ajax提交到Django后台,然后写入数据库

实现主机分组

通过Django的models进行数据库设计

实现不同的用户可以管理不同的主机

Django数据库多对多设计:一个用户可能管理多个主机组;一个主机组可能被多个用户管理

hostsmanage's People

Contributors

macoli avatar

Watchers

James Cloos avatar  avatar

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.