Django之入门CMDB系统
hequan2017, updated
🕥
2022-01-21 20:05:08
Django之入门CMDB系统
前言
作者: 何全,github地址: https://github.com/hequan2017 QQ交流群: 620176501
通过此教程完成从零入门,能够独立编写一个简单的CMDB系统。
目前主流的方法开发方式,分为2种:mvc 和 mvvc方式。本教程为 mvc 方式 和 mvvc(前后端分离)的入门教程。
教程项目地址: https://github.com/hequan2017/husky/
教程文档地址: https://github.com/hequan2017/husky/tree/master/doc
教程

Django之入门 CMDB系统 (一) 基础环境
Django之入门 CMDB系统 (二) 前端模板
Django之入门 CMDB系统 (三) 登录注销
Django之入门 CMDB系统 (四) 增删改查

Django之入门 CMDB系统 (五) 前后端分离之前端
Django之入门 CMDB系统 (六) 前后端分离之后端
动态菜单
- router
- 参考的如下文档
https://mp.weixin.qq.com/s?__biz=MzU1OTYzODA4Mw==&mid=2247484250&idx=1&sn=981024ac0580d8a3eba95742bd32b268&chksm=fc157076cb62f960aa9d88e38e584adfd3025f635d296a670f9f8c68a57229e9bd4a1b3e9d20&mpshare=1&scene=1&srcid=&sharer_sharetime=1582904507372&sharer_shareid=ec5f8f73cf3846c67538a33aa69ae2ae#rd
工单
https://mp.weixin.qq.com/s?__biz=MzU1OTYzODA4Mw==&mid=2247484255&idx=1&sn=0a9b4cfe2eb8adc33ae4cf2d581f790a&chksm=fc157073cb62f9657336abb43ea0b9e3d2e778ae5e43739ce1a3c33931968004993f1bdc87aa&mpshare=1&scene=1&srcid=&sharer_sharetime=1583566215427&sharer_shareid=ec5f8f73cf3846c67538a33aa69ae2ae#rd
Issues
opened on 2022-01-21 20:05:08 by dependabot[bot]
Bumps ipython from 6.4.0 to 7.16.3.
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hequan2017/husky/network/alerts).
opened on 2021-09-22 18:02:29 by dependabot[bot]
Bumps django from 3.0.4 to 3.1.13.
Commits
43873b9
[3.1.x] Bumped version for 3.1.13 release.
0bd57a8
[3.1.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by().
8dc1cc0
[3.1.x] Added stub release notes for 3.1.13.
1471ec4
[3.1.x] Fixed docs header underlines in security archive.
6022181
[3.1.x] Added CVE-2021-33203 and CVE-2021-33571 to security archive.
064c0c5
[3.1.x] Post-release version bump.
625d3c1
[3.1.x] Bumped version for 3.1.12 release.
203d4ab
[3.1.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.
20c67a0
[3.1.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs'...
aa8781c
[3.1.x] Confirmed release date for Django 3.1.12, and 2.2.24.
- Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hequan2017/husky/network/alerts).
opened on 2021-03-29 20:53:31 by dependabot[bot]
Bumps pygments from 2.2.0 to 2.7.4.
Release notes
Sourced from pygments's releases.
2.7.4
-
Updated lexers:
-
Apache configurations: Improve handling of malformed tags (#1656)
-
CSS: Add support for variables (#1633, #1666)
-
Crystal (#1650, #1670)
-
Coq (#1648)
-
Fortran: Add missing keywords (#1635, #1665)
-
Ini (#1624)
-
JavaScript and variants (#1647 -- missing regex flags, #1651)
-
Markdown (#1623, #1617)
-
Shell
- Lex trailing whitespace as part of the prompt (#1645)
- Add missing
in
keyword (#1652)
-
SQL - Fix keywords (#1668)
-
Typescript: Fix incorrect punctuation handling (#1510, #1511)
-
Fix infinite loop in SML lexer (#1625)
-
Fix backtracking string regexes in JavaScript/TypeScript, Modula2
and many other lexers (#1637)
-
Limit recursion with nesting Ruby heredocs (#1638)
-
Fix a few inefficient regexes for guessing lexers
-
Fix the raw token lexer handling of Unicode (#1616)
-
Revert a private API change in the HTML formatter (#1655) --
please note that private APIs remain subject to change!
-
Fix several exponential/cubic-complexity regexes found by
Ben Caller/Doyensec (#1675)
-
Fix incorrect MATLAB example (#1582)
Thanks to Google's OSS-Fuzz project for finding many of these bugs.
2.7.3
-
Updated lexers:
-
Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (#1600)
-
The ImgFormatter
now calculates the exact character width, which fixes some issues with overlapping text (#1213, #1611)
... (truncated)
Changelog
Sourced from pygments's changelog.
Version 2.7.4
(released January 12, 2021)
-
Updated lexers:
-
Apache configurations: Improve handling of malformed tags (#1656)
-
CSS: Add support for variables (#1633, #1666)
-
Crystal (#1650, #1670)
-
Coq (#1648)
-
Fortran: Add missing keywords (#1635, #1665)
-
Ini (#1624)
-
JavaScript and variants (#1647 -- missing regex flags, #1651)
-
Markdown (#1623, #1617)
-
Shell
- Lex trailing whitespace as part of the prompt (#1645)
- Add missing
in
keyword (#1652)
-
SQL - Fix keywords (#1668)
-
Typescript: Fix incorrect punctuation handling (#1510, #1511)
-
Fix infinite loop in SML lexer (#1625)
-
Fix backtracking string regexes in JavaScript/TypeScript, Modula2
and many other lexers (#1637)
-
Limit recursion with nesting Ruby heredocs (#1638)
-
Fix a few inefficient regexes for guessing lexers
-
Fix the raw token lexer handling of Unicode (#1616)
-
Revert a private API change in the HTML formatter (#1655) --
please note that private APIs remain subject to change!
-
Fix several exponential/cubic-complexity regexes found by
Ben Caller/Doyensec (#1675)
-
Fix incorrect MATLAB example (#1582)
Thanks to Google's OSS-Fuzz project for finding many of these bugs.
Version 2.7.3
(released December 6, 2020)
... (truncated)
Commits
4d555d0
Bump version to 2.7.4.
fc3b05d
Update CHANGES.
ad21935
Revert "Added dracula theme style (#1636)"
e411506
Prepare for 2.7.4 release.
275e34d
doc: remove Perl 6 ref
2e7e8c4
Fix several exponential/cubic complexity regexes found by Ben Caller/Doyensec
eb39c43
xquery: fix pop from empty stack
2738778
fix coding style in test_analyzer_lexer
02e0f09
Added 'ERROR STOP' to fortran.py keywords. (#1665)
c83fe48
support added for css variables (#1633)
- Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hequan2017/husky/network/alerts).