
CMDB
就叫一片白纸
话不多说就是干
展开
-
【CMDB】第8章——cmdb 前端资产列表实现
这里是引用原创 2019-10-29 23:22:28 · 515 阅读 · 0 评论 -
【CMDB】第7章——api安全认证
客户端发送token def __attach_token(self,url_str): '''generate md5 by token_id and username,and attach it on the url request''' user = settings.Params['auth']['user'] token_id ...原创 2019-10-27 22:35:30 · 182 阅读 · 0 评论 -
【CMDB】第6章——数据正式存入待存区+自动更新资产数据
#_*_coding:utf-8_*___author__ = 'jieli'import jsonfrom django.core.exceptions import ObjectDoesNotExistfrom assets import modelsfrom django.utils import timezoneclass Asset(object): def _...原创 2019-10-23 22:57:37 · 392 阅读 · 0 评论 -
【CMDB】第5章——Django admin 自定制
自定义admin组件from django.contrib import adminfrom django.http import HttpResponseRedirectclass AssetAdmin(admin.ModelAdmin): list_display = ('id','sn','create_date') # 字段展示 filter_horizon...原创 2019-10-22 19:56:24 · 214 阅读 · 0 评论 -
【CMDB】第4章——资产信息数据入库
资产入库api url(r'^asset/',include(asset_urls)), url(r'report/$', views.asset_report, name='asset_report'), url(r'report/asset_with_no_asset_id/$', views.asset_with_no_asset_id, name='acq...原创 2019-10-20 22:41:07 · 391 阅读 · 0 评论 -
【CMDB】第3章——CMDB客户端开发
这里是引用原创 2019-10-17 19:01:38 · 349 阅读 · 0 评论 -
【CMDB】第2章——CMDB数据库设计
from django.db import modelsfrom django.contrib.auth.models import User# Create your models here.class UserProfile(User): '''''' name = models.CharField("姓名",max_length=32) token = m...原创 2019-10-17 18:48:33 · 503 阅读 · 0 评论 -
【CMDB】第1章——CMDB介绍
浅谈ITILTIL即IT基础架构库(Information Technology Infrastructure Library, ITIL,信息技术基础架构库)由英国政府部门CCTA(Central Computing and Telecommunications Agency)在20世纪80年代末制订,现由英国商务部OGC(Office of Government Commerce)负责管...原创 2019-10-16 22:58:37 · 693 阅读 · 0 评论