Skip to content

Commit

Permalink
new django app
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Aug 5, 2020
1 parent 9aff94a commit 6f1debe
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 164 deletions.
164 changes: 0 additions & 164 deletions Kunlun_M/settings.py

This file was deleted.

1 change: 1 addition & 0 deletions Kunlun_M/settings.py.bak
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'web.index'
]

MIDDLEWARE = [
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ Kunlun-Mirror是从Cobra-W2.0发展而来,在经历了痛苦的维护改进原
- 重构tamper部分,使其更符合人类的配置文件思路
- 添加cli模式,使其更符合日常使用的工具逻辑
- 重构rule模式,使其更符合可扩展,可编辑的概念
- 重构Cobra-WA
- 集成到Kunlun-M中的web管理平台
- 提供平台化的漏洞管理方案
- 添加图关系的审计分析流程

## 更新日志

Expand Down
10 changes: 10 additions & 0 deletions web/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python
# encoding: utf-8
'''
@author: LoRexxar
@contact: [email protected]
@file: __init__.py.py
@time: 2020/8/5 16:11
@desc:
'''
Empty file added web/index/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions web/index/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class IndexConfig(AppConfig):
name = 'web.index'
Empty file.
3 changes: 3 additions & 0 deletions web/index/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
3 changes: 3 additions & 0 deletions web/index/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit 6f1debe

Please sign in to comment.