码迷,mamicode.com
首页 >  
搜索关键字:models    ( 3511个结果
UML基本架构建模--图的术语和概念(一)
?? A system is a collection of subsystems organized to accomplish a purpose and described by a set of models, possibly from different viewpoints. A subsystems is a grouping of elements, some...
分类:其他好文   时间:2015-05-08 08:10:43    阅读次数:92
UML基本架构建模--图概述
?? DIAGRAMS 图群   When you model something, you create a simplification of reality so that you can better understand the system you are developing. Using the UML, you build your models from...
分类:其他好文   时间:2015-05-08 08:10:15    阅读次数:121
mvc分页
控制器:using MVCTest.Models;using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using Webdiyer.MvcPager...
分类:Web程序   时间:2015-05-07 12:19:55    阅读次数:208
Mvc 学习笔记(一)
1. MVC 表示 模型-视图-控制器。MVC是一种用于开发应用程序的模式,具备良好的架构,可测试和易于维护。基于MVC应用程序中包含: Models:表示应用程序的数据,并使用验证逻辑强制执行业务规则的数据的类。 Views:您的应用程序用来动态生成HTML响应的...
分类:Web程序   时间:2015-05-06 17:10:04    阅读次数:122
django自带User管理中添加自己的字段方法
#coding=utf-8from django.db import modelsfrom django.contrib.auth.models import User, make_password, check_password, Group, GroupManagerfrom django.co...
分类:其他好文   时间:2015-05-05 21:31:44    阅读次数:183
django 数据库查询
class Poll(models.Model):slug = models.SlugField(unique_for_month='pub_date')question = models.CharField(maxlength=255)pub_date = models.DateTimeField...
分类:数据库   时间:2015-05-04 17:10:41    阅读次数:142
sublime 操作
多行操作(一)ctrl + / 多行注释。这应该是多行操作应用最为频繁的了。多行文本编辑from django.template import loader,Context from django.http import HttpResponse from tools.models import ....
分类:其他好文   时间:2015-05-03 21:59:32    阅读次数:133
@Html.Partials 加载分布视图传参数
原文地址:http://www.cnblogs.com/huhaihua/p/3755357.html 这是Index视图 @Html.Partial("TestPartial", new Course.Models.Employee{ ID=1, Name="s...
分类:Web程序   时间:2015-05-03 18:48:05    阅读次数:123
学习ASP .NET MVC5官方教程总结(七)Edit方法和Edit视图详解
学习ASP .NET MVC5官方教程总结(七)Edit方法和Edit视图详解        在本章中,我们研究生成的Edit方法和视图。但在研究之前,我们先将 release date 弄得好看一点。打开Models\Movie.cs 文件。先添加一个引用: using System.ComponentModel.DataAnnotations;然后在Movie类中添加以下代码: [D...
分类:Web程序   时间:2015-05-01 23:54:30    阅读次数:345
外部python程序调用django的models
查了几篇文章,结合了一下,以下是使用范例:我的工程是/www/web/cmdb/我的models文件在/www/web/cmdb/serverpwd/models.pydjango的settings文件在/www/web/cmdb/cmdb/settings.py#!/usr/bin/envpython#-*-coding:utf-8-*-importsys,osfromdatetimeimport*sys.path.append(‘/ww..
分类:编程语言   时间:2015-05-01 20:05:34    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!